Page 1 of 1

Italian Bibliocatalog

Posted: 2008-02-27 12:22:24
by fulvio53s03
Dear Friends,
I found on the web an .xml file of the following kind:

<?xml version="1.0" encoding="Windows-1252"?>
<catalog>
<book>
<number>1</number>
<author>ANNE RICE</author>
<title>INTERVISTA COL VAMPIRO</title>
<original-title>The Sands Of Mars</original-title>
<year>1951</year>
<pages>171</pages>
<plot>A San Francisco alle soglie del 2000 il giornalista Mallory.</plot>
<cover>/9j/4AAQSkZJRgABAQEAlgCWAAD//gA7Q3JlYXRvcjogUG9seVZpZXeuIFZlcnNpb24gMy45MiBi
eSBQb2x5Ynl0ZXMNClF1YWxpdHk6IDc1/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0a9KKKKwnuWj//2Q==</cover>
</book>
</catalog>

it refers to a collection of books and the <book> is recursive. Note that the <cover> contains an image coded in base64.
Opening with a text editor I saw that amc.xml catalog has a structure very similar to the one showed but.... I'm a newbye and I'm not able to transform it.

Do you know if it is possible to use this catalog with AMC (changing the fields name, obviously)?
many thank to everyone.

Posted: 2008-02-27 12:40:27
by bad4u
This format can be processed with AMCs' integrated XML parser, but you need to write a script for this.

Please give a link to the XML file / website. Maybe it's possible to adapt the amazon books script when it has been finished, as it uses similar format.

Posted: 2008-02-28 08:21:39
by fulvio53s03
Thanks for the quick response.
The XML file comes from p2p (forum's rules allows to publish a p2p link?).
Anyway, you can find informations and links searchin the words "ebook.ita.programma".

Thanks again.

:ha:

Posted: 2008-02-28 09:48:36
by antp
If it is not an illegal file you can put the link I guess, the forbidden links are those to download full movies, mp3, etc., being P2P or not :D

Posted: 2008-02-28 10:05:43
by bad4u
Sorry, but I do not use any P2P software. Anyway, search results from google do not seem to lead to legal content. No chance I will spend time on it then.

Posted: 2008-02-28 14:14:52
by fulvio53s03
The file is not illegal nor covered by copyright. It's only a program cataloging a lot of books (about 2800) and the diffusion of those books may be illegal but nobodywants to diffuse them!
The only things I'm interested is not to buy a book with no ideas on its contents and having a good way to catalog my books, I never waste my time!
:badidea: