Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 13 of 13

Thread: RSS Framework

  1. #1
    Join Date
    May 2006
    Posts
    5,380

    RSS Framework

    this was inspired by FoxLeader's post
    http://www.indigorose.com/forums/sho...77&postcount=6

    its a simple set of actions to enable you to read rss feeds in your applications

    AMS_RSS.Download()
    This will return the local filepath of the downloaded file use this variable in all other actions to access the rss feed it works this way because XML.Load will only allow 1 xml file open at a time this way you can open many rss feeds useing varables or a table. if any error a blank string ("") is returned.

    AMS_RSS.LoadLinks()
    This will load the links from a rss xml file and return a table of values
    For v1 (tb.Title[INDEX], tb.Desc[INDEX], tb.Link[INDEX])
    For v2 (tb.Title[INDEX], tb.Desc[INDEX], tb.Link[INDEX], tbPubDate[INDEX], tbGUID[INDEX])
    if any error -1 is returned

    AMS_RSS.CountLinks()
    This will count the links in the rss feed
    returns number of links, if any error (-1) is returned.

    AMS_RSS.GetVesion()
    This will get the version of the rss feed
    returnd a number, if any error (-1) is returned.

    details on the arguments can be found in the action editors descriptions

    put AMS_RSS.xml in your Data\Actions folder and include the script or add to globals ot add to includeed files bla bla bla, its a script, use how you like


    Licence

    if you want to use this code in a project then you must do 3 things

    1, record your self jumping on one leg with a lampshade on your head singing "Im A Little Teapot".
    2, publish the said video on youtube or other well known video uploading service.
    3, post link to said video here on this thread.

    then thats it, anyone found useing this code in a project and hasent posted a link will be tickeld to death with a very large feather......you have been warned!!!!

    lol
    Last edited by RizlaUK; 02-01-2009 at 11:34 AM.
    Open your eyes to Narcissism, Don't let her destroy your life!!

  2. #2
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Quote Originally Posted by RizlaUK View Post
    tickeld to death with a very large feather
    Eek!

  3. #3
    Join Date
    Nov 2006
    Location
    Quebec, Canada.
    Posts
    432
    Thanks Rizla, I will have a look at that soon!
    And... lol @ your license guidelines

  4. #4
    Join Date
    May 2006
    Posts
    5,380
    lol @ your license guidelines
    lol, was in a funny mood, and wanted to see if anyone took it seriously..
    Open your eyes to Narcissism, Don't let her destroy your life!!

  5. #5
    Join Date
    Jun 2008
    Posts
    38
    great example im loving this..

    just wanting a little help on it so i can
    use a combo box with pre entered rss feeds

    what would i need to change in the button on click
    to get the data from the combo box to load

    if its at all possable..
    thanks

  6. #6
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    There's alot of useful info in this example and in the AMS Help files. I bet if you look there you find your anwsers.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  7. #7
    Join Date
    Jun 2008
    Posts
    38
    yeah i know....
    i was just playing dumb
    my eyes were seeing things that
    were not there so every thing looked
    the same but none of it worked as i was
    typing it all wrong...
    anyway got what i wanted in the end......

    phewwwwwwwww

    less caffeine more sleep..... lol

  8. #8
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    define:sleep ? :P

    CB-Uptime:48+ (lost count, really need some sleep:P)
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  9. #9
    Join Date
    Mar 2007
    Posts
    452

    Star

    i dont understand why this example dont support uneuropian characters (fonts) even thought choosing country font script ???

  10. #10
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Well that depends on the feed you're reading, every feed has a different charset in use.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  11. #11
    Join Date
    Mar 2007
    Posts
    452
    utf 8 charset

    but also listboxes doesnt show them either !!!

  12. #12
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    What's the feed's url?
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  13. #13
    Join Date
    Mar 2007
    Posts
    452
    is feed urls importand ?

  14. #14
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    Quote Originally Posted by GoOgLe View Post
    is feed urls importand ?
    Well yes, the feeds charset is the charset you have got to use. if the feed has characters only supported by Unicode or ISO, then UTF-8 won't work fine
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

Similar Threads

  1. Dependency Module: Microsoft .NET Framework 2.0
    By Adam in forum Setup Factory 8.0 Examples
    Replies: 30
    Last Post: 11-20-2009, 08:27 PM
  2. Dependency Module: Microsoft .NET Framework 1.1
    By Darryl in forum Setup Factory 8.0 Examples
    Replies: 12
    Last Post: 06-10-2008, 02:26 AM
  3. How to use a RSS feed ?
    By shervin in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 07-07-2007, 12:46 PM
  4. How about detecting if the .NET framework is installed?
    By Tnygaard in forum Setup Factory 6.0
    Replies: 0
    Last Post: 06-02-2003, 03:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts