Author |
Topic |
|
Phil7789
Starting Member
Germany
9 Posts |
Posted - 28 Feb 2011 : 18:36:19
|
Hey guys, I downloaded the amazing XMM some days ago and I am trying to get my database set for my needs since then. I could solve most of the problems but one still remains: the original title of a movie. Yet I used the imdb_de script and will still use it, but i want to use OFDB for the original title as the imdb script just parses the default title instead of the correct one.
The Problem with OFDB right now is that Der, Die, The, ... etc. are at the END of the title and not at the beginning. Is there a possibility to tell the script that it should put Der, Die, The, ... at the end of the title for search purpose (elsewise no movie is found) and to put it at the beginning of the title for storing?
I hope you understand what i am trying to tell :D
Thanks in advance, Phil |
|
Radioactive
New Member
94 Posts |
Posted - 03 Mar 2011 : 10:37:36
|
i think that will be a good idea (maybe with an option to turn it on or off)
But i don't know how to add this
Maybe JDommi, Alisso or Prinz can write how to add this (We need somethink like a split function and if the split is positive that the "Articel" is at the beginning(String Function))
mfg |
|
|
JDommi
Administrator
Germany
4653 Posts |
Posted - 03 Mar 2011 : 11:06:10
|
As MagicScript doesn't support that function yet you only can remove phrases like ", The", ", Der", etc. For that you must add these phrases to the SubstituteTag section of the script. A routine inside the Title section would be possible, too. But it's a little bit complicated as you have to check against the comma in the source line of the html: If comma exists then takeword after the comma + takeword before the comma. Better would be an inbuild function to split a variable. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
JDommi
Administrator
Germany
4653 Posts |
Posted - 03 Mar 2011 : 22:19:41
|
Why does the site don't find the movies? I have just tested "der unglaubliche hulk" as well as "unglaubliche hulk, der" and both searches showed the same results! Beside that I firstly have thought that the topic was about the script result. I think to remember that there is a function to manipulate the #MOVIE# variable but I don't remember at the moment. Prince does know more about and, of course, Ale. |
In order to achieve what is possible, you have to try the impossible over and over again. Hermann Hesse |
|
|
Radioactive
New Member
94 Posts |
Posted - 05 Mar 2011 : 17:50:16
|
Push
Ale please write back |
|
|
Radioactive
New Member
94 Posts |
Posted - 07 Mar 2011 : 17:50:27
|
http://www.mediafire.com/?8bfssuzxnvo94x4
Here it is^^
changlog: --- 1.42 --- // * Added an option to put the Articel at the beginning |
Edited by - Radioactive on 07 Mar 2011 17:54:43 |
|
|
Alessio Viti
Forum Admin
Italy
9171 Posts |
|
Phil7789
Starting Member
Germany
9 Posts |
Posted - 09 Mar 2011 : 19:48:41
|
Thanks for the help guys, i'll have to try the new script ^^
@JDommi: The title search works sometimes with the articles der, die, etc. and sometimes it doesn't. I was able to find movies with the article but other movies just did not put out any result until i removed the article and did not use them.
Phil |
Edited by - Phil7789 on 09 Mar 2011 19:55:48 |
|
|
|
Topic |
|