We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38640
    • 5 Posts
    I running Revo 2.2.4, trying to pull in an rss feed using spieFeed from another of my sites, which is running Revo 2.2.0.

    I am having trouble getting an image at the item level to come through. I have a very basic template set up for spieFeed (sermonTPL2) that uses all of the available placeholders in the spieFeed documentation.

    I can get the favicon to show up and the feed’s image (VFC19northFeedIcon.jpg), but both of these are included at the channel level. Each item has its own image and that is what I want to display. When I look at my feed in Safari’s reader, the image is currently listed in 3 different places (I was trying multiple ways of including the image).

    My feed is: feed://www.mediaatvictory.com/19north_feed.rss

    My rss item specific code:

    <item>
      <title>[[+pagetitle:htmlent]]</title>
      <itunes:author>[[+tv.speaker]]</itunes:author>
      <link>[[+tv.series:isequalto=`none`:then=`http://www.mediaatvictory.com/sermons/[[+alias]]`:else=`http://www.mediaatvictory.com/series/[[+tv.series]]`]]</link>
      
      <enclosure url="http://www.mediaatvictory.com/[[+tv.sermonAudio]]" type="audio/mpeg" />
      
      <enclosure url="http://www.mediaatvictory.com/[[+tv.sermonImage]]" type="image/jpeg" />
    
    <link rel="enclosure" type="image/jpeg" href="http://www.mediaatvictory.com/[[+tv.sermonImage]]" />
      
      <description>
      <enclosure url="http://www.mediaatvictory.com/[[+tv.sermonImage]]" type="image/jpeg" /> 
      
      <image>
    		<url>http://www.mediaatvictory.com/[[+tv.sermonImage]]</url>
    		<title>[[+pagetitle]]</title>
    		<link>http://www.mediaatvictory.com/[[+tv.sermonImage]]</link>
      </image>
      </description>
      
       
      <pubDate>[[+tv.date:strtotime:date=`%a, %d %b %Y %H:%M:%S EST`]]</pubDate>
      <guid>[[+tv.series:isequalto=`none`:then=`<a class="H_series" href="sermons/[[+alias]]">[[+pagetitle]]</a>`:else=`<a class="H_series" href="series/[[+tv.series]]">[[+pagetitle]]</a>`]]</guid>  
      <itunes:keywords>[[+tv.tags]]</itunes:keywords>
    </item>
    


    The image is listed in there several times, as there are apparently multiple ways to include an image and I was trying them all, hoping one would work.

    On my page:
    [[!spieFeed? &setFeedUrl=`http://www.mediaatvictory.com/19north_feed.rss` &tpl=`sermonTPL2` &enableCache=`0` ]]


    My template for spieFeed is:
        [[+favicon]]<br>
        [[+link]]<br>
        [[+title]]<br>
        [[+description]]<br>
        [[+content]]<br>
        [[+permalink]]<br>
        [[+imageLink]]<br>
        [[+imageTitle]]<br>
        [[+imageUrl]]<br>
        [[+imageWidth]]<br>
        [[+imageHeight]]<br>
        [[+date]]<br>
        [[+localDate]]<br>
        [[+copyright]]<br>
        [[+latitude]]<br>
        [[+longitude]]<br>
        [[+language]]<br>
        [[+encoding]]<br>
        [[+authorName]]<br>
        [[+authorLink]]<br>
        [[+authorEmail]]<br>
        [[+category]]<br>
        [[+contributor]]<br>
        [[+getType]]<br>
        [[+itemImageThumbnailUrl]]<br>
        [[+itemImageWidth]]<br>
        [[+itemImageHeight]]<br>
        <br><br><br>


    What I see on the front end can be found here: http://19northtest.com/modx/index.php?id=15

    I see that there is a placeholder for itemImageThumbnailUrl, and I would think that’s my answer, but obviously I’m missing something on the rss item end or the spieFeed end, because that placeholder comes through empty.

    On a side note, when I tried getFeed, the image was coming through from the description section, but since I cannot get getFeed to sort right, I have abandoned it for spieFeed.

    Thanks!

      • 36562
      • 94 Posts
      Did you ever get it to work?
        --------------------------------------
        www.williamastrom.se
        • 38640
        • 5 Posts
        Quote from: DesignByWilliam at Nov 27, 2013, 12:46 AM
        Did you ever get it to work?

        Nope. Gave up item level images.
          • 36562
          • 94 Posts
          Ok. Filed an issue on github about it. May try to fix it myself otherwise.

          Quote from: ddrespling at Apr 03, 2014, 08:08 PM
          Quote from: DesignByWilliam at Nov 27, 2013, 12:46 AM
          Did you ever get it to work?

          Nope. Gave up item level images.

            --------------------------------------
            www.williamastrom.se
            • 19328
            • 433 Posts
            I've fixed this bug. See: https://github.com/vierkantemeter/spiefeed/commit/f6d1d491f56d682a1d43eb23b5dc768acb04e4ae

            Maybe goldsky (author of spiefeed) will merge my pull request so an update for spiefeed will become available.