Announcement

Collapse
No announcement yet.

get images in custom reader

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • get images in custom reader

    I have a feed streamer question:
    I have a feed that looks like this:
    <message>
    <time>20200519111102</time>
    <content>
    <messagebody/>
    <text/>
    <url name="someimagename.jpg" mimetype="image/jpeg">http://somepath/someimage.jpg</url>
    </content>
    </message>


    I would like feed streamer to get the image
    I have a reader defined, Vizrt.Socialize.Plugins.XML_JSON.mms.xml that reads the content but not the message
    A couple of years ago this worked with <Image>{main:content/main:url}</Image> but not anymore
    Any ideas?

  • #2
    well, if anyone else stops there...
    the answer is adding the line
    Code:
                    <media:thumbnail url="{main:content/main:url}"/>
    NOT as part as the payload but before it.
    and, while in the payload the line looks like <media:thumbnail url={main:content/main:url}/>, to get it to work you need to warp the {...} in ""...

    Comment

    Working...
    X