T O P I C R E V I E W |
eemakia |
Posted - 09 Jun 2010 : 05:15:24 Hello. Can someone modify the script filmaffinity to import all the info in the field "Críticas" to Reviews in the cards?. Thanks |
17 L A T E S T R E P L I E S (Newest First) |
JDommi |
Posted - 14 Jun 2010 : 21:22:03 Although Prinz has already answered:
quote: Go to the folder "C:\Documents and Settings\...\eXtreme Movie Manager\MovieCards". There is a file called Genre.js that has be be modified manually. This code will be called by DefaultHTMLCard so the card itself don't has to be changed.
A short explanation of how to modify: 1. adding genres: just add the following lines before the last } else { phrase. --> } else if(a == "new_genre") { --> document.write('<img border="0" src="MovieCards/Genre/new_genrepic.png" width="48" height="48">'); new_genre has to be lowercase and the png has to be in folder Genre. use _empty.png as template for the new pic 2. adding new translation: add the 2 pipe signs (Alt Gr + <) and the new comparison before the trailing ")" --- || = or --> } else if(a == "romance" || a == "romanze") { --> } else if(a == "romance" || a == "romanze" || a == "amore") {
The png itself doesn't has to be renamed for translations.
http://www.binaryworks.it/forum/topic.asp?TOPIC_ID=5558 |
eemakia |
Posted - 14 Jun 2010 : 20:55:20 quote: Originally posted by Prinz
You can edit the genre list yourself if you want. It's the File Genres.js in the MovieCards Folder. Just add the spanish translation for all genres.
Example:
Original:
quote: } else if(a == "horror" || a == "grusel") { document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');
Change to:
quote: } else if(a == "horror" || a == "grusel" || a == "terror") { document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');
Ok, thanks for the info. I done this and works perfect. If you anyone wants the file fixed, please let me know and i upload it. Thanks |
Prinz |
Posted - 14 Jun 2010 : 19:13:12 You can edit the genre list yourself if you want. It's the File Genres.js in the MovieCards Folder. Just add the spanish translation for all genres.
Example:
Original:
quote: } else if(a == "horror" || a == "grusel") { document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');
Change to:
quote: } else if(a == "horror" || a == "grusel" || a == "terror") { document.write('<img border="0" src="MovieCards/Genre/horror.png" width="48" height="48">');
|
eemakia |
Posted - 14 Jun 2010 : 17:58:24 With the genre, i understand. You take the word after the point to subgenre and in Boogeyman 3 says: Terror | Secuela (| instead of .)That's ok.You can take it for subgenre too if you want For the translation list, tell me if i write here or i upload a txt file. The country names are ok (Argentina and Argentina.png)Or you need to change the country name in other pleace? |
Prinz |
Posted - 14 Jun 2010 : 17:29:01 quote: Originally posted by eemakia
This is for deafvader: I use movie_bigcover(grey).htm card and i have two little problems: when the genre is in spanish (ex: terror instead of horror) don´t show the icon (i try to rename it). And with some country (Argentina, Sweden) don´t show the icon flag. Please try to fix it if you can. Thanks
For that i would need a translation list... |
Prinz |
Posted - 14 Jun 2010 : 17:26:54 city of ember works for me. It imports all actor. But i found a problem with actors import. I made a small mistake :
- Fix Actor that a already in the actors Database weren't added the the Movie
http://www.mediafire.com/download.php?lm5mtjmlqkm
boogeyman 3 has only one genre listed. So there is no subgerne to import. Only moviegenre.php?genre= links are used as gerne, the rest is ignored as these aren't genres, these are "tags" or search words... Or maybe i misunderstood something , i don't speak Spanish, i used a online translator... |
eemakia |
Posted - 14 Jun 2010 : 17:20:56 This is for deafvader: I use movie_bigcover(grey).htm card and i have two little problems: when the genre is in spanish (ex: terror instead of horror) don´t show the icon (i try to rename it). And with some country (Argentina, Sweden) don´t show the icon flag. Please try to fix it if you can. Thanks |
eemakia |
Posted - 14 Jun 2010 : 16:44:46 Thanks for the addons!!!. I found one problem: the actors import sometimes works (ex Lakeview Terrace) but others just import one actor (ex City Of Ember)and i think that the subgenre import have the same problem too (ex city of ember works; boogeyman 3 don't works) |
Prinz |
Posted - 14 Jun 2010 : 14:27:11 - Added Actors import - Added Music import - Added Studio import - Added OFFICIAL WEB import - Added SUBGENRE import
http://www.mediafire.com/download.php?ejjjyokuybz |
eemakia |
Posted - 13 Jun 2010 : 21:57:18 I have no words for your work. Now really is complete this script. Works PERFECT. Thank you very much. |
Prinz |
Posted - 13 Jun 2010 : 20:26:09 - changed decimal devidor in rating field to a point instead of a comma
http://www.mediafire.com/download.php?ynkdfmktmxy |
eemakia |
Posted - 13 Jun 2010 : 18:09:21 One more thing (sorry boder you): the script don´t import the decimals of the score (ex: score 5,2 and imports 5). I don´t know if you can fix it or is too much trouble. Thanks in advance |
eemakia |
Posted - 13 Jun 2010 : 17:13:42 Oh yes!!. Now works P E R F E C T. I try with many movies and works really great. Prinz you are the king! . Great job. Thanks |
Prinz |
Posted - 13 Jun 2010 : 15:21:26 - Fixed "Críticas" import (last html line wasn't taken) - Rewrote the plot function
http://www.mediafire.com/download.php?myemgjykdyn |
eemakia |
Posted - 13 Jun 2010 : 06:15:33 Sorry but i found one error: i try with the wolfman and works great, but then i try 1408 and 16 blocks and only import this: -------------------. I will keep testing
Edit: 300 don't work and planet 51 yes. Maybe is for the length of the criticas field (all those who do not work have more criticas than the others) And sometimes the script gives me an error: "can't find the word on the #FIND# Instruction: <td>Line: 204" (try with planet 51). This error was in the old script too
Edit 2: The length is not the problem. Try With the movie REC (have only 5 criticas) and only import --------------- |
eemakia |
Posted - 13 Jun 2010 : 05:59:16 Thanks for the fix. All the new features are and works perfect. Great job. Thanks |
Prinz |
Posted - 12 Jun 2010 : 23:29:26 - Add "Críticas" to Review Field - Replaced small with big Poster - Add support for Title searches with special characters like ñ
http://www.mediafire.com/download.php?gdi4zzmqo0h |