TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

TYPO3 Mailingliste: nicht fragen - lesen!

TYPO3 Mailingliste: nicht fragen - lesen!_RR_1-->
Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-project-templavoila@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 25.07.2008, 20:28
Franz Koch
Gast
 
Beiträge: n/a
Standard [TYPO3-templavoila] Problems mapping XML-files as TV-templates

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 25.07.2008, 23:19
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Problems mapping XML-files as TV-templates

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #3  
Alt 26.07.2008, 00:37
Franz Koch
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Problems mapping XML-files as TV-templates

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #4  
Alt 26.07.2008, 12:17
Dmitry Dulepov [typo3]
Gast
 
Beiträge: n/a
Standard Re: [TYPO3-templavoila] Problems mapping XML-files as TV-templates

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Lesezeichen

Themen-Optionen
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

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


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:15 Uhr.


Powered by vBulletin® Version 3.7.4 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Template-Modifikationen durch TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75