![]() |
#1 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
manifest.xml templates
Hallo,
I posted here the manifest.xml templates that I use all the time. Nothing new, but why not? 3 templates are included for html, pdf, & directory. Why do I need to have manifest.xml templates? [1] It's much faster than tagging your files "online" on your iLiad, you can't set an image this way. [1] You can tag directories with title, description, & image! [-> much more sweeter contentlister] iLiad's contentlister uses UTF-8 encoding, that's the reason why your iLiad doesn't like your manifest.xml edited on PC if you use characters like German Umlaute äüä or French accent grave without bothering with encoding. The fun part is iLiad can read iso-8859-1 encoding & converts it on-the-fly to UTF-8 when it saves the file the first time. Therefore templates' encoding is iso-8859-1. What is the pro? You can use the letters on your keyboard without any worries. Usage of xml-templates #Copy contents of zip-file to where you want, have a look on iLiad's contentlister to find out what is possible. # Use one of the "Use this 3 templates [x].zip" to tag your documents.[*] Edit the sections which are marked red in the pdf sample below. Code:
<?xml version="1.0" encoding="iso-8859-1"?> <!--manifest file for pdf files--> <package> <metadata> <dc-metadata> <Title>TITLE</Title> <Description>DESCRIPTION</Description> <Date>2007-01-01T00:00:00</Date> <Format/> <Identifier/> <Language/> <Type/> </dc-metadata> <y-metadata> <startpage>FILENAME.pdf</startpage> <image>cover.png</image> <version>000</version> </y-metadata> </metadata> </package> Optimal size of image is 69x93 pixels, but you can user other dimensions, image gets scaled in contentlister. iLiad can handle dimension larger than 1000 pixel without any problems. Sticky: Please don't use the character "&" in Title, Description, & Filenames. iLiad doen't like &s. [*] I have included 3 "Use this 3 templates [x].zip" files, because when you open a xml with single Line Feed character in Windows' notepad it looks strange because Windows terminates each line with a Carriage Return and Line Feed pair. Enough with technical stuff. Have fun with them. [EDIT] Iso-8859-1: "ISO 8859-1 encodes what it refers to as "Latin alphabet no. 1," consisting of 191 characters from the Latin script." UTF-8 Last edited by yokos; 01-10-2007 at 07:35 AM. Reason: wikipedia hl |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
|
Hi,
Is it possible to hide the Manifest.xml file when using the 'directory' manifest? I am trying to put the rediculously large rectangles in the directory listings to some use by adding a directory description, but there is always a manifest.xml shown in the list (which is useless!). |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43
Karma: 2898
Join Date: Jan 2007
Location: Belgium
Device: iRex iLiad, PRS-600
|
![]()
Hi all,
After some more experimenting, I found the solution myself. ![]() To add a directory description (and/or an icon), without showing the manifest.xml, do the following: - move the content from the directory_with_description to a subdirectory inside the directory (ex: to dir_with_descr/content_dir/) - add following manifest.xml to the directory_with_description (ex: in dir_with_descr/manifest.xml) Code:
<?xml version="1.0" encoding="UTF-8"?> <package> <dc-metadata> <Title>Title of the Directory</Title> <Description>Description of the Directory</Description> <Date>2007-01-01T00:00:00</Date> </dc-metadata> <y-metadata> <image/> <version>000</version> </y-metadata> </metadata> <directory> <content>content_dir</content> </directory> </package> Code:
- dir_with_descr + manifest.xml + content_dir + file1.pdf + file2.pdf ... Another tiny tip: If you want to enter a description with two lines, just use the xml line feed ( ) or carriage return ( ). Cheers, Bert |
![]() |
![]() |
![]() |
#4 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
|
Thanks for the tip Bert, I will try this later.
|
![]() |
![]() |
![]() |
#5 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
I found that the contentlister will not display a directory with prefix '_'.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() Posts: 976
Karma: 687
Join Date: Nov 2007
Device: Dell X51v; iLiad v2
|
Thanks to Bert's info. It helps me a lot.
I hereby present my small improvement to Bert's manifest template: Replace "<content>content_dir</content>" with "<content>./</content>", then you don't need to create a "content_dir". |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Jan 2008
Location: Ireland <-> Bay Area
Device: Rex iLiad, Blackberry Curve
|
Had some spare time...
This is great! Add icons to the mix and you can get something like this without too much effort! Thank you for the info guys!
![]() |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: May 2008
Device: iRex Iliad 2nd ed.
|
manifest of Thumbnail image
Good you please send me the manifest for your thumbnail image example. I would appreciate that. I am very new at this and any examples would be helpful.
thanks |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 22
Karma: 10
Join Date: Apr 2008
Device: iLiad
|
Hello.
I'm interested by the tag <language>. Can somebody say me more about that ? Thanks ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
iLiad manifest.xml file order | dedo | iRex Developer's Corner | 2 | 10-05-2009 07:47 PM |
iLiad which program make a new manifest.xml file? | harpum | iRex Developer's Corner | 3 | 06-23-2009 09:45 AM |
iLiad softlinks via manifest.xml | wallcraft | iRex Developer's Corner | 11 | 02-17-2009 03:33 AM |
iLiad More Manifest Tags | arivero | iRex Developer's Corner | 21 | 08-19-2006 03:21 PM |
iLiad icons and other manifest.xml tricks | arivero | iRex Developer's Corner | 3 | 08-01-2006 10:45 AM |