Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jason

    (@verysimple)

    The selector only works if the image is in the description of the post (ie if the post description is simple HTML). You could verify if that is the case by looking at the feed source.

    If the image is not in the post description field then it may be stored by the blog software in another “extended” field of RSS. To get to those fields you have to use the “data array” feature of HungryFEED which is simple to use, but unfortunately can be a minor pain figuring out the correct path to the image.

    Thread Starter novacode7

    (@novacode7)

    Thank you for your quick response. Using the data array feature I’ve tracked down the image. It’s only located here in the data feed:

    {{data[‘child’][‘https://purl.org/rss/1.0/modules/content/’%5D%5B‘encoded’%5D%5B0%5D%5B‘data’%5D}}

    Unfortunately, when I use this data array it brings over the post text and image. Is there a way to specify more precisely the image only? Here’s the relevant data dump:

    [https://purl.org/rss/1.0/modules/content/] => Array
                    (
                        [encoded] => Array
                            (
                                [0] => Array
                                    (
                                        [data] => <p><img class="alignleft size-full wp-image-36" title="School Crest" src="https://principal.crusaders.ourladyofhope.net/files/2012/03/School-Crest.png" alt="" width="121" height="94" />Make sure to show your Crusader pride on Spirit Day, March 28!</p>
    
                                        [attribs] => Array
                                            (
                                            )
    
                                        [xml_base] =>
                                        [xml_base_explicit] =>
                                        [xml_lang] =>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: HungryFEED] Can't Select an Image from RSS Feed’ is closed to new replies.