1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.5 RSS Feeder tag question

Discussion in 'XenForo Questions and Support' started by Thomas Vollath, Oct 23, 2015.

  1. Here is an excerpt xml of a fictional YouTube channels videos:
    <?xml version="1.0" encoding="UTF-8"?>
    <feed xmlns:yt="http://www.youtube.com/xml/schemas/2015" xmlns:media="http://search.yahoo.com/mrss/" xmlns="http://www.w3.org/2005/Atom">
    <link rel="self" href="http://www.youtube.com/feeds/videos.xml?channel_id=1234567890"/>
    <title>some name</title>
    <link rel="alternate" href="http://www.youtube.com/channel/1234567890"/>
      <name>some name</name>
      <title>some title</title>
      <link rel="alternate" href="http://www.youtube.com/watch?v=ABCDEF"/>
       <name>ftog thorgal</name>
       <media:title>some title</media:title>
       <media:content url="https://www.youtube.com/v/ABCDEF?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
       <media:thumbnail url="https://i1.ytimg.com/vi/ABCDEF/hqdefault.jpg" width="480" height="360"/>
       <media:description>lorem ipsum</media:description>
        <media:starRating count="0" average="0.00" min="1" max="5"/>
        <media:statistics views="3"/>
    When setting up a new Feed in the Xenforo ACP you can access a few tags in the message template:
    {title} {content} {author} {link}

    My question is how can I parse other tags from the xml? I can parse {id} and a few others, but none of the tags with ":" in them work.

    What I am trying to achieve is to parse the "yt:videoId" in to a media=youtube bbcode like this:
  2. Mike

    Mike XenForo Developer Staff Member

    In general, parsing tags other than what's available by default would require custom development.

Share This Page