English > Scripts and Templates
Allmovie Script
Ivek23:
The AllMovie site has been replaced by AllRovi.
See AllRovi movie script for Scripts and Templates board.
Post it now in AllRovi movie script for Support board.
I have a question (the initiative) to AllMovie script:
Would it be possible to add this script from AllMovie.com:
View DVD Releases
View DVD Releases
as
DVD releases for:
It would be very interesting I hope that more of such advice.
rick.ca:
For things like this that don't have much to do with other information in the database, I would prefer to import a link to the page. Also, the page is a simple list of releases. But each item in the list is linked to further information. So if I want that, I'm going to be browsing the site anyway. So I modified my script by adding the following after the Description (aka "plot synopsis") section...
--- Code: ---//Features (DVD releases)
curPos := PosFrom('<td class="large-list-title" style="padding-top: 13px; padding-bottom: 1px;">', HTML, EndPos);
TmpStr := TextBetween(HTML, '<td class="large-list-title" style="padding-top: 13px; padding-bottom: 1px;">', '>View DVD Releases</a></td>', False, curPos);
TmpStr1 := StringReplace(TmpStr, 'ยป <a href=', '', True, True, False);
If TmpStr1 <> '' then
AddFieldValue(mfFeatures, '<link url=' + TmpStr1 + '>DVD Releases</link>');
--- End code ---
This does seem to work, although there's surely a better way to code it. Sadly, even though it's used throughout, I'm clueless about the role curPos and EndPos in the script. :-[
This creates a link using the program's hyperlink function in the Features field. This is a good solution for me because I don't otherwise use the field, it's a type in which hyperlinks can be used, and it just seems logical to me. I'll even leave it in the media information section of my skin. It's not about the existing media, but a link to information about available releases. If I ever do want use it for it's intended purpose, I'm sure I'll be happy to replace the link with the actual feature information for the DVD I own.
Ivek23:
--- Quote ---If I ever do want use it for it's intended purpose, I'm sure I'll be happy to replace the link with the actual feature information for the DVD I own.
--- End quote ---
I would ask, therefore, actual feature information.
But I would also welcome the script for additional information AllMovie DVD release, as are they:
100 Girls:
(http://www.allmovie.com/dvd/releases/100-girls-249188)
http://www.allmovie.com/dvd/100-girls-19609
Ivek23:
I think it would be interesting to have such information for those who do not have the original movies on DVD or other media.
rick.ca:
--- Quote ---I would ask, therefore, actual feature information.
--- End quote ---
You mean you want a script that will allow you to choose one DVD from the list and import information presented on three separate tabs? AFAK, it's not possible do an item selection with a script. In any case, I don't see the point. You're not going to be able to do anything with the information in PVD other than read it. Why not use a link and read it in a browser? From there, you'll also find it much easier to translate the results, if that's a consideration. ;)
Navigation
[0] Message Index
[#] Next page
Go to full version