XF 1.1 Altering style of RSS Feed

Jeff Fuqua

Well-known member
I'm adding a new RSS feed and am having some styling issues I'd like to try and resolve.

Ideally, I would like the photo credit (AP) to appear below the photo followed by a couple of returns to the start of the article. An option would be to remove the image and credit.

Here's the actual feed:
Code:
<div><span class="enclosure c1"><img width="250" height="177" src="http://nbcprofootballtalk.files.wordpress.com/2012/11/350x-2610.jpg?w=250" class="featured-image wp-post-image" alt="Jake Locker, Chris Johnson"/><span class="caption">AP</span></span> <p>Titans quarterback <a class="nameLink" href="http://redirect.viglink.com?key=11fe087258b6fc0532a5ccfc924805c0&u=http%3A%2F%2Fwww.rotoworld.com%2Fplayer%2Fnfl%2F6424%2Fjake-locker">Jake Locker</a> wasn’t expecting to play without running back <a class="nameLink" href="http://redirect.viglink.com?key=11fe087258b6fc0532a5ccfc924805c0&u=http%3A%2F%2Fwww.rotoworld.com%2Fplayer%2Fnfl%2F4743%2Fchris-johnson">Chris Johnson</a> this year.</p> <p>Locker <a href="http://redirect.viglink.com?key=11fe087258b6fc0532a5ccfc924805c0&u=https%3A%2F%2Fsoundcloud.com%2Fsiriusxmsports%2Fjake-locker-titans-qb-joined-1">said on SiriusXM NFL Radio</a> that he was surprised to find out that the Titans were releasing Johnson, their starting running back for the last six seasons.</p>

Any suggestions? Thanks.

screen.webp
 
As Xenforo is effectively pulling the layout and content directly from the feed's XML file, that's where you need to look to sort the problem. I deal with this by using Yahoo Pipes and some replacement/RegEx to manipulate the feeds content and generating a new source for XenForo to pull it from.

It's not for the faint hearted, but it will work.
 
Thanks for the reply.

I experimented with Pipes trying to String Replace the caption by adding a <br> before and two after. The pipe won't connect which means I must be doing something wrong.
 
Back
Top Bottom