BinaryWorks.it Official Forum
BinaryWorks.it Official Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 eXtreme Movie Manager 8, 9, 10 Forum
 Scripts
 General question on the scripts
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2 Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

JDommi
Administrator

Germany
4649 Posts

Posted - 05 Jul 2016 :  00:02:39  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I have found the problem.
It's a matter of the card itself. For every tab except of "Comments" there is a <span><PRE>_MOVIE_REVIEW_</PRE></span>.
When you remove these commands then you will have the links. But as it seems you will loose the #NEWLINE#.
Maybe
#STRING#=#31#=#31# <a href="#35#">completa</a><br>
could solve that issue.
Beside that I have forgotten the " on the link.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 05 Jul 2016 :  14:31:00  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
No funciona.
Entonces lo dejo de la siguiente forma, hasta que haya una solucion, de esta forma se ve el link y se puede copiar y pegar en el navegador pero solo funciona el copiar y pegar haciendo clic con el boton derecho del raton

Google traslation:

It does not work.
Then I leave as follows, until there is a solution, in this way the link looks and can be copied and pasted into the browser but only the copy and paste functions by clicking the right mouse button

#STRING#=#31#=#31# #NEWLINE#Ver crítica completa: #35##NEWLINE#



Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 05 Jul 2016 :  14:51:22  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Entonces hay que poner esta actualizacion, que esta resuelto el tema de los trailers y que si hay un poster en español coloca este primero y el poster principal en segundo lugar a escoger si se quiere en opciones.

Google traslation:

Then you have to put this update, this solved the issue of trailers and if there is a poster in Spanish places the first and second main poster to choose whether you want in options.

https://dl.dropboxusercontent.com/u/105880936/FILMAFFINITY.COM.txt
Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 05 Jul 2016 :  16:18:23  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
The solution is to remove the <PRE> and </PRE> in the moviecard itself.
I had added that command as #NEWLINE# is not properly resolved on some fields like Reviews - at least I had problems with...

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 05 Jul 2016 :  18:10:25  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Quitando el <PRE> y el </PRE> si que funciona.
con el #NEWLINE# también funciona con clic derecho del raton y abrir en una ventana nueva, funciona correctamente.
Es que no me atrevia a tocar la htmlcard.
Pongo el link de la HTMLcard modificada y el link del script.

Google traslation:

Removing the <PRE> and </ PRE> if it works.
with # NEWLINE # also works with right mouse click and open in a new window, it works correctly.
I do not dare touch the htmlcard.
I put the link of the modified HTMLcard and link the script.

https://dl.dropboxusercontent.com/u/105880936/movie_bigcover%20-%20Filmaffinity.htm

https://dl.dropboxusercontent.com/u/105880936/FILMAFFINITY.COM.txt




Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 05 Jul 2016 :  18:31:27  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Then Ale has corrected that bug since my last try.
Modifying the link to <a href="http://www.xxx.xx/" target="_blank">completa</a> will open the link always in a new window.
So you don't have to use the rightclick especially as the context menu for the card can be set to the XMM own one.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 05 Jul 2016 :  19:14:16  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Pues si que funciona el target="_blank", con un solo clic

For if that works the target = "_ blank" with one click




Edited by - washandgo on 05 Jul 2016 19:33:33
Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 05 Jul 2016 :  20:16:14  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
And now add an option to store the link or the complete review in the field

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 05 Jul 2016 :  22:14:36  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
me parece que va a ser que no, de todas formas estoy arreglando esa parte, porque al capturar el link que obviado las criticas que no tienen link.... creo que ya funciona bien voy a probar.


I think that goes to be no, anyway'm fixing that part, because capturing the link that obviated the criticisms that have no link .... I think it works well'll try.


Edited by - washandgo on 05 Jul 2016 22:30:55
Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 05 Jul 2016 :  22:31:44  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
:critica_sin_link

#FIND#=<div itemprop="reviewBody">#30##ONERROR#=*STOP*

That would miss all reviews after one without a link. Is that okay?
I would change that to #ONERROR#=*OK* and if #30#==#00# then #GOTO# next ...

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 05 Jul 2016 :  23:02:16  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
some lost the reviews, but in the debugger no, now I've gone back to modify a little more, and you leave all but there is a NEWLINE fails

:CYCLEREVIEWS

#PUT#=0#36#
#FINDLINE#=<div class="pro-review"#32##ONERROR#=*STOP*
#COMPUTELINE#=+1
#FIND#="http#33##ONERROR#=*OK*
#IF# #33#==#00#
#RESETCURSOR#
#GOTO#=critica_sin_link
#ENDIF#
#FIND#=" target#34##ONERROR#=*OK*
#TAKEWORD#=#36#,#33#,#34#
#COMPUTELINE#=+1

:critica_sin_link

#FIND#=<div itemprop="reviewBody">#30##ONERROR#=*OK*
#TAKEWORD#=#31#,#00#,#00#
#CHECKVARIABLE#=#31#
#STARTSUBSTITUTETAGS#
#CLEARTAGS#
#TRIM#
#IF# #36#==#00#
#STRING#=#31#=#31# #NEWLINE#
#GOTO#=escribir_critica
#ENDIF#
#STRING#=#31#=#31# <a href="#36#" target="_blank">completa</a><br>#NEWLINE#

:escribir_critica

#TAKEREVIEW#=#31#
#GOTO#=CYCLEREVIEWS
Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 05 Jul 2016 :  23:34:59  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
#STRING#=#31#=#31# <a href="#36#" target="_blank">completa</a>

:escribir_critica

#STRING#=#31#=#31#<br>#NEWLINE#
#TAKEREVIEW#=#31#
#GOTO#=CYCLEREVIEWS

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 06 Jul 2016 :  01:14:25  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Now if that works all
I tested with different titles and looks good, but I'll do some more just in case
Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 06 Jul 2016 :  09:31:20  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You're always welcome

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 06 Jul 2016 :  21:14:53  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Bueno ya lo he probado, creo que esta bien asi que ya lo he colgado en un post

Well I've tried, I think this well so I have already hung on a post
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 10 Jul 2016 :  14:10:15  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Vaya shit. las páginas de las películas no estan hechas de forma standard, si no que hay que ir retocando el script a medida que van saliendo errores, hoy pones una que hace 2 años que la han inscrito y el código es diferente a una de hace 5 años.
Además el magicscript no ayuda con la ñ, á, é etc......en las partes de texto para la busqueda....


Go shit. the pages of the films are not made of standard, if not you have to go tweaking the script as they go out mistakes, today you put one 2 years that have enrolled ago and the code is different from May 1 years ago .
Besides the MagicScript does not help with ñ, á, é etc ...... in parts of text to search ....
Go to Top of Page

washandgo
Junior Member

Spain
257 Posts

Posted - 10 Jul 2016 :  14:15:29  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
he visto que TMDB han cambiado la web y comienza a tener bastantes datos en español, voy comenzar a retocar el script, aunque el español no está contemplado en este script, a ver si soy capaz.


I have seen that TMDB have changed the web and begin to have enough data in Spanish, I will begin to tweak the script, although Spanish is not covered by this script, to see if I can.
Go to Top of Page

JDommi
Administrator

Germany
4649 Posts

Posted - 10 Jul 2016 :  14:57:45  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
Besides the MagicScript does not help with ñ, á, é etc ...... in parts of text to search ....

Already tried it with #SUBSTITUTEWEBQUERY# for the movie title?
For further searches you can put the search term into a variable, do a #SUBSTITUTEWORD# and then use #FINDVAR# or #FINDLINEVAR#.

In order to achieve what is possible, you have to try the impossible over and over again.
Hermann Hesse
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic   Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BinaryWorks.it Official Forum © Binaryworks.it Go To Top Of Page
Generated in 0.12 sec. Powered By: Snitz Forums 2000 Version 3.4.07