ofdb.de parser - 2008/09/11 07:52There is a little bug in the current ofdb.de script. When a match is found but the resulting page does not contain a synopsis ('Inhalt:' is missing), some random text from who-knows-where is parsed to the synopsis field.
SemPlayer: Pinnacle ShowCenter 200 Server: Windows XP Pro SP3 (Simese 1.45, SwissCenter latest SVN)
| | The administrator has disabled public write access.
KMan
User
Posts: 52
Re: ofdb.de parser - 2008/09/11 08:54Hi!
i can confirm this behaviour, same here Player : Pinnacle ShowCenter 250HD (wired) Server : XP Pro SP2+ (Simese 1.45, SwissCenter current SVN) Spec : Intel Pentium D830 (DualCore) 3GHz, 2GB RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1504
Re: ofdb.de parser - 2008/09/11 09:29Please provide an example to test with.Player : Netgear EVA700 & Popcorn A-100 (081224) Server : Vista SP1 Home Premium (Simese 2.06, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 2Tb storage.
| | The administrator has disabled public write access.
KMan
User
Posts: 52
Re: ofdb.de parser - 2008/09/11 10:44Hi,
e.g. American Crudeofdb entry returns synopsis like Auf einen Mythos blickt man im Prinzip aus weiter Ferne, aber, ich glaube, beim Sehen von "The Dark Knight" ist man ganz nah dran; als wäre man Zeuge von der Geburt eines Sternes im All; von etwas Großem jedenfalls... [mehr] which roughly translates to seeing the dark knight is a big event, and obviously has nothing to do with American Crude
btw, after a quick look: all items without synopsis have this certain text
Hope this helpsPlayer : Pinnacle ShowCenter 250HD (wired) Server : XP Pro SP2+ (Simese 1.45, SwissCenter current SVN) Spec : Intel Pentium D830 (DualCore) 3GHz, 2GB RAM
| | The administrator has disabled public write access.
semko
User
Posts: 26
Re: ofdb.de parser - 2008/09/11 10:49Here's another one:
Der Hades-Faktor
SemPlayer: Pinnacle ShowCenter 200 Server: Windows XP Pro SP3 (Simese 1.45, SwissCenter latest SVN)
| | The administrator has disabled public write access.
grovve
User
Posts: 101
Re: ofdb.de parser - 2008/09/11 10:57I have this problems as well. The wrong synopsis was always taken from a film I already have in my DB, however it changes after a couple of updates.
to return the upper part of the page, the link that is got by the parser from there is always http://www.ofdb.de/view.php?page=start, from there the search for a synopsis always result in the text from Unser aktueller Review-Tip and that is why it changes after a while.
From my understanding this could easily be fixed by checking if the $start in the code above has a result greater then 'not found' (how ever this is in php, i would guess -1?) and if not, just skip the synopsis part.
Hope this helps ?
@Pernod, write something, i never know if you got what i wrote Player : Pinnacle ShowCenter 250HD (wired) Server : XP Pro SP2+ (Simese 1.45, SwissCenter current SVN) Spec : Intel Pentium D830 (DualCore) 3GHz, 2GB RAM
| | The administrator has disabled public write access.
KMan
User
Posts: 52
Re: ofdb.de parser - 2008/09/23 15:53@Pernod, can you confirm my theory here ?
Kind regards
KManPlayer : Pinnacle ShowCenter 250HD (wired) Server : XP Pro SP2+ (Simese 1.45, SwissCenter current SVN) Spec : Intel Pentium D830 (DualCore) 3GHz, 2GB RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1504
Re: ofdb.de parser - 2008/09/23 20:20Yes your theory is correct.
this may but most likely will not have side effects that i am currently not aware of, but at least this solved all issues which i had with titles from my db.
it narrows googles results by excluding all pages that have review in their title and only show matches that have all words from the movietitle in the page title aswell. Additionally it avoids that google filters matches because of simular content.
Hope this helps?
Kind regards
KMan
P.S.: could you use the language file i posted a while ago ?Player : Pinnacle ShowCenter 250HD (wired) Server : XP Pro SP2+ (Simese 1.45, SwissCenter current SVN) Spec : Intel Pentium D830 (DualCore) 3GHz, 2GB RAM
| | The administrator has disabled public write access.
Pernod
Admin
Posts: 1504
Re: ofdb.de parser - 2008/09/24 07:31Your Google query makes sense, but I'm hesitant to change it unless it really makes a difference as the existing query was extensively tested in the past. Don't want to change it if it's not broken.
You language changes will be submiited at some point. I have 50+ files to submit from my development version (fixes, changes, new features) and very little time available.Player : Netgear EVA700 & Popcorn A-100 (081224) Server : Vista SP1 Home Premium (Simese 2.06, SwissCenter current SVN) Spec : Intel C2Q Q6600, 2GB RAM, 2Tb storage.
| | The administrator has disabled public write access.
KMan
User
Posts: 52
Re: ofdb.de parser - 2008/09/24 08:35Pernod wrote: ... I'm hesitant to change it unless it really makes a difference...
i tested with most of my database and it defenatly made a difference, i tested with all prior unmatched entries, which now all got matched and several before already matched which still worked as expected.
why not provide a test version which german users could test more extensively, and if feedback is positive change it then ?
You language changes will be submiited at some point. I have 50+ files to submit from my development version (fixes, changes, new features) and very little time available.
n.p. it's only hard to tell if you noticed a post like that, when you lack the time to reply. But nevertheless i do understand your time issue very well.Player : Pinnacle ShowCenter 250HD (wired) Server : XP Pro SP2+ (Simese 1.45, SwissCenter current SVN) Spec : Intel Pentium D830 (DualCore) 3GHz, 2GB RAM
| | The administrator has disabled public write access.