New Template
Actually most of the fields in movies.xml is in a cdata clause which means that the xml parser will read everything in there as data (not code like <br>). If you want code within your description try to change (in movies.xml template):
to:
But you might get errors due to unallowed white space characters (that is why cdata is there ). And also like Ant said all tags have to closed in xml so <br> will be <br />.
Good luck!
Code: Select all
<description><![CDATA[$$ITEM_DESCRIPTION]]></description>
Code: Select all
<description>$$ITEM_DESCRIPTION</description>
Good luck!
Ok thanks ! Now i understand why i have the <br>. But I don't care. I don't need code in my description. The <br> is create automaticaly. I replace it by ". " in all the file movies.xml and it's ok for me.
Je n'arrive pas a faire ma phrase en anglais ici : Comment puis-je empecher la creation de ces <br> lors de l'exportation ?
Thanks !
Je n'arrive pas a faire ma phrase en anglais ici : Comment puis-je empecher la creation de ces <br> lors de l'exportation ?
Thanks !
Dans Outils -> Préférences -> Exportation il y a une option pour ça. Laisse le champ vide si les retour à la ligne ne doivent pas être remplacés (et dans ce cas tu peux aussi laisser le CDATA dans le XML, qui gèrera convenablement ce retour à la ligne, ce qui ne sera pas le cas du classique <description>$$ITEM....</description>)Raff wrote:Je n'arrive pas a faire ma phrase en anglais ici : Comment puis-je empecher la creation de ces <br> lors de l'exportation ?
In Tools -> Preferences -> Export there is an option for that. Keep the field empty if the linebreak shound not be replaced (and in this case, you can also keep the CDATA in the XML, it will manage these linebreaks correctly, where the classic <description>$$ITEM....</description> won't)
Sorry guys, but is there a chance, that anyone can give me a "Step by step" instruction on how to use Willspos` template (The one you can download in the first post)?
I`ve read the included readme but I can`t really follow the instructions, expecially the first point: "1.Save the file data/movies.xml as something.html and place it in the same directory as your Movie Catalog templates."
There`s something I´m doing wrong, it does not work....
Maybe someone can help me out...
greetz and thx
jojo
I`ve read the included readme but I can`t really follow the instructions, expecially the first point: "1.Save the file data/movies.xml as something.html and place it in the same directory as your Movie Catalog templates."
There`s something I´m doing wrong, it does not work....
Maybe someone can help me out...
greetz and thx
jojo
-
- Posts: 46
- Joined: 2002-12-14 19:24:59
1. Step: Download Willspo's Template. And unzip.
2. Step: Open the Ant Movie Catalog and klick left "HTML-export" which you can find under "export".
3. Step: There you choose the template which is in the downloaded Willspo-folder.
4. Step: On the bottom you can find "export". There you choose movies.xml, which you can find in the "data"-subfolder of the downloaded folder. If somebody asks if you wanna overwrite - yes
5. Step: execute the index.html
Fucking english
2. Step: Open the Ant Movie Catalog and klick left "HTML-export" which you can find under "export".
3. Step: There you choose the template which is in the downloaded Willspo-folder.
4. Step: On the bottom you can find "export". There you choose movies.xml, which you can find in the "data"-subfolder of the downloaded folder. If somebody asks if you wanna overwrite - yes
5. Step: execute the index.html
Fucking english
-
- Posts: 46
- Joined: 2002-12-14 19:24:59
-
- Posts: 46
- Joined: 2002-12-14 19:24:59
Hey, strange. in preview it loaded the image, but not in the post. so try again, now with url:
http://turtle20003.tripod.com/Images/screen1.gif
http://turtle20003.tripod.com/Images/screen1.gif
file:///C:/Applications/Ant%20Movie%20Catalog/Templates/Willspo%20Template%203%20-%
it is not showing the rest of the URL. Could the length be the problem? Or the %20 's?
Here is the data from my moview.xml file. The picture occurs twice? Is that correct??
<movie>
<number>710</number>
<date><![CDATA[]]></date>
<media><![CDATA[]]></media>
<title><![CDATA[Along Came a Spider]]></title>
<year><![CDATA[2001]]></year>
<length><![CDATA[104]]></length>
<category><![CDATA[Thriller]]></category>
<director><![CDATA[Lee Tamahori]]></director>
<description><![CDATA[A girl is kidnapped from a school by one of the teachers.]]></description>
<picture><![CDATA[<img src="along came a spider.jpg">]]></picture>
<cdanzahl><![CDATA[]]></cdanzahl>
<picture><![CDATA[along came a spider.jpg]]></picture>
<actors><![CDATA[Morgan Freeman (as Alex Cross)]]></actors>
<rating><![CDATA[6]]></rating>
</movie>
it is not showing the rest of the URL. Could the length be the problem? Or the %20 's?
Here is the data from my moview.xml file. The picture occurs twice? Is that correct??
<movie>
<number>710</number>
<date><![CDATA[]]></date>
<media><![CDATA[]]></media>
<title><![CDATA[Along Came a Spider]]></title>
<year><![CDATA[2001]]></year>
<length><![CDATA[104]]></length>
<category><![CDATA[Thriller]]></category>
<director><![CDATA[Lee Tamahori]]></director>
<description><![CDATA[A girl is kidnapped from a school by one of the teachers.]]></description>
<picture><![CDATA[<img src="along came a spider.jpg">]]></picture>
<cdanzahl><![CDATA[]]></cdanzahl>
<picture><![CDATA[along came a spider.jpg]]></picture>
<actors><![CDATA[Morgan Freeman (as Alex Cross)]]></actors>
<rating><![CDATA[6]]></rating>
</movie>
-
- Posts: 46
- Joined: 2002-12-14 19:24:59