Can I recover my movie list from the html version on the www

If you need help on how to use the program
Post Reply
tigra710
Posts: 2
Joined: 2008-09-03 19:03:42

Can I recover my movie list from the html version on the www

Post by tigra710 »

Hello,

I have made a list with my movies and have exported it to html and put the list on the internet. Now my computer has crashed and I have no backup. Is there any way I can recover my list from the list that is now on internet??
Any tips???

Thanks a lot!

Kind regards,

Nathalie

:??: :??: :??: :??:
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Probably not possible, at least not easily. If you exported movie URLs too, it should be easy to extract them into a CSV file and import into AMC. Depending on the script(s) you used, it might be possible to run the script(s) in batch mode then and so retrieve movie data again. But personal notes on movie data will get lost that way...

Is your website really HTML export or eventually an XML file ? Maybe you could link to this website (via private message if you prefer) ?
antp
Site Admin
Posts: 9720
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Importing info directly from the HTML page rather than other sites would be faster, though that it would require to write a script especially for that.

Or even opening the HTML file in Excel and trying to format data to have a CSV file.
Anyway, this depends much on how the HTML file looks like.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

".. though that it would require to write a script especially for that." = "at least not easily" ;)

I guess it doesn't make sense to write a (full) script for one time use only. That's why I thought about the URL, if it's available and depending on the script(s) used, a new, exact matching import from website(s) should be possible without user interactions (and only few modifications on the existing script). But indeed, it's quite slow for a large number of films..
tigra710
Posts: 2
Joined: 2008-09-03 19:03:42

Post by tigra710 »

Hi,
thanks already for the replies.
the url is : http://
Have a nice day
Last edited by tigra710 on 2008-09-05 08:28:20, edited 1 time in total.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

That's a quite simple layout and only few data (orig title/translated title/language/description/picture) to import.. so it's not such a big problem.

Open a new catalog with one movie, then simply run the HTML2CSV script. It will download your website's html code and write a file named import_list.csv into your AMC main folder. Import this file using AMC's import function for Excel/CSV (use TAB as field delimiter).

When done, you should have a catalog without pictures. Now run the DLPics script on the new catalog using the ALL option, it'll download all pictures from your website (that might need some minutes). Done.

Rating is not imported, as you use a 4 stars rating system. If it should be included, I need to know how to change that to x/10 system of AMC (0 = 0, 1 = 2/10, 2 = 4/10, 3 = 6/10, 4 = 10/10 ?)..

See private message for links to the scripts, I won't post these here as they contain your website's link..

@antp: If you want the scripts too, let me know ;)
Last edited by bad4u on 2008-09-04 19:19:44, edited 1 time in total.
antp
Site Admin
Posts: 9720
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I think that some day I already wrote something for importing from this template, as it is one of the basic ones provided with the program.
You can send me the scripts, these can be used again or modified easily I guess.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

@antp: I added the missing fields that have not been used on previous website, deleted all references to the site and replaced them with variables, added some more notes on script's comments & code and packed the two scripts into a zipfile. It could be released here if you like, but should be uploaded on your webspace then because of a permanent link. I'll send it via mail. ;)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Seems to be solved (via PM). At least I hope so :D
Post Reply