|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi guys,
I'm currently trying to map some XML nodes to my DS - but the mapping engine of TV is not allowing me to map any XML node. It seems to map only HTML-tags. I'm trying to map a file like this: ------- <?xml version="1.0" encoding='UTF-8'?> <body> <headlines> <headline> <text>myheadline</text> <xpos>12</xpos> <ypos>12</ypos> <color>#000000</color> </headline> </headlines> <buttons> <button> <text>buttontitle</text> <id>3</id> <xpos>12</xpos> <ypos>12</ypos> <color1>#000000</color1> <color2>#000000</color2> </button> </buttons> <lines> <line> <width>70</width> <height>2</height> <xpos>70</xpos> <ypos>100</ypos> <color>#000000</color> </line> </lines> </body> ------- strange thing is, that the previous webmaster seemed to be able to map the xml files. All I did is to add some more new nodes and tried to update the mapping. But TV is only showing the content of the xml file in one line and doesn't allow to map anything. Any ideas? TV version 1.3.6. -- kind regards, Franz Koch _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#2
|
|||
|
|||
|
Hi!
Franz Koch wrote: > I'm currently trying to map some XML nodes to my DS - but the mapping > engine of TV is not allowing me to map any XML node. It seems to map > only HTML-tags. I'm trying to map a file like this: TemplaVoila requires valid *XHTML*. > strange thing is, that the previous webmaster seemed to be able to map > the xml files. All I did is to add some more new nodes and tried to > update the mapping. But TV is only showing the content of the xml file > in one line and doesn't allow to map anything. He could map xml only if he used the same tag names as in XHTML. -- Dmitry Dulepov TYPO3 Core team Latest article: http://typo3bloke.net/post-details/d...than_you_need/ More about TYPO3: http://typo3bloke.net/ Subscribe: http://typo3bloke.net/rss.xml _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#3
|
|||
|
|||
|
Hi Dmitry,
thanks for your fast support. >> I'm currently trying to map some XML nodes to my DS - but the mapping >> engine of TV is not allowing me to map any XML node. It seems to map >> only HTML-tags. I'm trying to map a file like this: > > TemplaVoila requires valid *XHTML*. hmm - that would explain it But I'm wondering why it's limited to this. Maybe a hook or some service-driven parser might be nice to become more flexible. I'm asking for this, because I'm currently working on a flash website that is managed with Typo3. >> strange thing is, that the previous webmaster seemed to be able to map >> the xml files. All I did is to add some more new nodes and tried to >> update the mapping. But TV is only showing the content of the xml file >> in one line and doesn't allow to map anything. > > He could map xml only if he used the same tag names as in XHTML. I analysed the code of my predecessors former installation and found out that he modified (not xclassed - wierdo) the html-parser class and added his xml node-names to the tags list of the parser. That seemed to do the trick though. And because I updated to the latest TER version id didn't work anymore which drove me nuts. As mentioned above - maybe you could provide a hook for manipulating these tag-list in one of the future versions of TV - or service-driven parser DTDs or something But a hook might be sufficient. In the meantime I xclassed TV because I didn't want to use HTML, use mapping type "outside" and add all xml-tags as wraps. -- kind regards, Franz Koch _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
|
#4
|
|||
|
|||
|
Hi!
Franz Koch wrote: > hmm - that would explain it But I'm wondering why it's limited to > this. Maybe a hook or some service-driven parser might be nice to become > more flexible. I'm asking for this, because I'm currently working on a > flash website that is managed with Typo3. TemplaVoila has certain logic that it must follow during mapping of HTML tags. Therefore there is a list of tags and information about them. Any unknown tags cannot be mapped. > As mentioned above - maybe you could provide a hook for manipulating > these tag-list in one of the future versions of TV - or service-driven > parser DTDs or something But a hook might be sufficient. In the > meantime I xclassed TV because I didn't want to use HTML, use mapping > type "outside" and add all xml-tags as wraps. Well, there are lots of requests for TV. When I choose what to fix my first priority is sponsored features. Next popular features. Next the rest. -- Dmitry Dulepov TYPO3 Core team Latest article: http://typo3bloke.net/post-details/d...than_you_need/ More about TYPO3: http://typo3bloke.net/ Subscribe: http://typo3bloke.net/rss.xml _______________________________________________ TYPO3-project-templavoila mailing list TYPO3-project-templavoila (AT) lists...netfielders.de http://lists.netfielders.de/cgi-bin/...ct-templavoila |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Re: [TYPO3] Mapping image, alttext and link in TV - problems | Darko Jr. Gonzalez | typo3-english@lists.netfielders.de | 1 | 24.01.2008 11:17 |
| [TYPO3] Mapping image, alttext and link in TV - problems | Morten Kjems | typo3-english@lists.netfielders.de | 1 | 23.01.2008 13:24 |
| [TYPO3-templavoila] how to include files that require tv mapping | Cate & Peter | typo3-project-templavoila@lists.netfielders.de | 1 | 13.11.2007 10:56 |
| [TYPO3] utf-8 Problems with TS-templates | Daniel Selinger | typo3-english@lists.netfielders.de | 5 | 19.02.2007 10:21 |
| [TYPO3-templavoila] Templavoila is not saving my mapping information | Peter Gallagher | typo3-project-templavoila@lists.netfielders.de | 1 | 13.12.2006 03:58 |