Hi Folks,
I'm trying to use LinkRewriterTransformer for modifying links in RSS or RDF feeds. Sometimes those links are just text within other elements like in <http://www.faz.net/s/Rub/Tpl~Epartner~SRss_.xml>:


----------------------------
  <item>
    <link>
      http://www.faz.net/s/Rub28FC768942F34...
    </link>
    <guid>
      http://www.faz.net/s/Rub28FC768942F34...
    </guid>
  </item>
----------------------------

What I'm thinking of is transforming them in the pipeline, but I don't find the right configuration. Maybe somebody can give me a hint?

What I tried is:

----------------------------
  <map:match pattern="FAZ">
    <map:generate
       src="http://www.faz.net/s/Rub/Tpl~Epartner~SRss_.xml"/>
    <map:transform type="linkrewriter">
      <link-attr name="" pattern="(?:url(.*?)~Scontent.(.*)"/>

      [missing configuration]

    </map:transform>
    <map:serialize/>
  </map:match>
----------------------------

Thanks for any help
--
[EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to