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

XF 1.2 Feeder - extracting more elements

Discussion in 'XenForo Questions and Support' started by skicomau, Dec 3, 2013.

  1. skicomau

    skicomau Member

    The doco : http://xenforo.com/help/feeder/

    Shows that you can call the following {title} {content} {author} {link}

    What I want to do is feed a "featured product" into my forum. This sort of works in that I can do just that but I also want to call other items of the xml such as the image and the price and the discount (all in the xml).
    Code:
    <lowestPrice>90.98</lowestPrice>
    <saving>65</saving>
    <category>Jackets</category>
    <enclosure src="http://www.backcountry.com/images/items/small/CPP/CPP0064/BKCHA.jpg" type="image"/>
    
    Question is 2 part:
    1) Is there an easy way to include those elements via feeder?
    2) If not can I edit the code somewhere to include extra elements like {lowestPrice} {enclosure} etc

    I can't find an add on that does this.
     
  2. skicomau

    skicomau Member

    Actually I control the rss feed so I could change the enclosure tag to just something like <image or similar
     
  3. Mike

    Mike XenForo Developer Staff Member

  4. skicomau

    skicomau Member

    Happy to edit the code a bit. Any heads up as to which file I am looking in?
     
  5. skicomau

    skicomau Member

Share This Page