Go Back   Android Forums > Android Development > Application Development > App Inventor

test: Reply
 
LinkBack Thread Tools
Old April 2nd, 2012, 12:48 PM   #1 (permalink)
bpb
New Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default Best way to include RSS feeds from Google Sites

I've been playing around with App Inventor and while I've found tutorials on including RSS feeds (including hosting server services on Google Code) I haven't found one that will correctly parse an RSS feed from Google Sites. Specifically, the .xml returned by a "Subscribe to this..." (i.e. page changes, new posts) on a site created by Google Sites doesn't seem to be in the default format recognizable by any code I've found to parse and display easily in an app inventor app.
Anyone found a solution for this?
(I'm new here, so I'm not yet able to post links to the sites/solutions I'm referring to.)
BPB

Advertisements
bpb is offline  
Reply With Quote
sponsored links
Old April 2nd, 2012, 10:43 PM   #2 (permalink)
Junior Member
 
Join Date: Mar 2012
Location: Louisiana, USA
Posts: 33
 
Device(s): Asus Eee Transformer
Carrier: Not Provided

Thanks: 1
Thanked 4 Times in 3 Posts
Default

Just a guess, but could it be in JSON format? If so, here is an example of using the Web component:
Web Component - JSON Response - App Inventor Blocks
appinventor is offline  
Reply With Quote
The Following User Says Thank You to appinventor For This Useful Post:
bpb (April 3rd, 2012)
Old April 3rd, 2012, 06:35 AM   #3 (permalink)
bpb
New Member
Thread Author (OP)
 
Join Date: May 2010
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

Well, I stand somewhat corrected. If I go to the top level site directly in my mobile browser (apparently it's a mobile Chrome browser of some sort), it displays that much fine. If I navigate to the "Subscribe to posts" and click there in my mobile browser, it still doesn't display quite right. So at least that aspect of it (the ultimate .xml URI formatting) doesn't appear to have anything to do with AI.
As for it being in JSON, it's quite possible. I'd overlooked your link, but that looks pretty promising - thanks!

I saw in that tutorial where it returns the result, and a tutorial for returning multiple results (iRead2.zip). However, that iRead2 only displays one result on the page. Not quite what I'm looking for, but close. See this, http://appinventorapi.com/rss-feeds/, near to the bottom of the page comments, where user dsanvita has made a way to parse flickr results and display images in them. It's pretty slick, but it's a lot of work to duplicate. (Links to https://groups.google.com/forum/#!topic/programming-with-app-inventor/3n_p3N89r6A/discussion)
bpb is offline  
Last edited by bpb; April 3rd, 2012 at 07:44 AM. Reason: more information
Reply With Quote
Reply
Tags
app, inventor, rss feeds, sites


Go Back   Android Forums > Android Development > Application Development > App Inventor
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 08:35 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.