Welcome to openkapow Sign in | Join
in Search
.

How to manipulate the RSS

Last post 05-05-2008, 10:49 AM by Simon. 5 replies.
Sort Posts: Previous Next
  •  05-03-2008, 7:08 AM 19093

    How to manipulate the RSS

    Hi!

    Does anyone know how to make the RoboMaker generate the RSS after one´s wishes? The generated RSS I get by default is:

    <item>
        <title>...</title>
        <link>...</link>
        <description>content_from_robomaker.jpg</description>
    </item>

     
    But I would like to have something like this (in order to implement some caching solution on my web site):

    <item>
        <title>...</title>
        <title>...</title>
        <description><img src="content_from_robomaker.jpg" /></description>
    </item>

    What I would like to have is the <img> tag within the <description>. Is it possible to tell the RoboMaket to do so?

    Thanks!

      

     

  •  05-03-2008, 9:06 AM 19096 in reply to 19093

    Re: How to manipulate the RSS

    Hi dng050 

    doing this: <description><img src="content_from_robomaker.jpg" /></description> wouldn't be a problem as you just have to enter "<img src="content_from_robomaker.jpg" />" as the content of the RSS.description attribute.

    if that's not it, I'm a bit confused what you want to do. 

  •  05-03-2008, 4:02 PM 19104 in reply to 19096

    Re: How to manipulate the RSS

    Hi!

    What I would like to do is to make what I scrape - i.e. some images - to be formatted in this way in my RSS feed:

    <description><img src="my_image.jpg" /></description>

    As for now, when I extract the url of the image and put it in the RSS.description attribute I get this:

    <description>my_image.jpg</description>

    Is it possible to format my rss feed from RoboMaker in this fashion?

  •  05-04-2008, 6:39 AM 19111 in reply to 19104

    Re: How to manipulate the RSS

    yes. You can use converters to format your text any way you want. use the "convert attribute" action and add <img src=" before your the text and " /> after.

    example robot that does just that: http://openkapow.com/files/folders/tutorials_and_examples/entry19110.aspx 

    -Simon
     

  •  05-05-2008, 9:30 AM 19146 in reply to 19111

    Re: How to manipulate the RSS

    Ahhh, this is freedom! It works very fine with the "Convert attributes" action, and it gives one a sense of RoboMaker´s strength.

     Thanks!
     

  •  05-05-2008, 10:49 AM 19147 in reply to 19146

    Re: How to manipulate the RSS

    I'm happy it worked for you
View as RSS news feed in XML
.
Copyright 2006, 2007 KapowTech.com All Rights Reserved Company | Contact | Terms | Privacy