Results 1 to 7 of 7
- 06-25-2009, 08:22 PM #1
Member
- Join Date
- Jun 2009
- Posts
- 3
- Rep Power
- 0
Web service and RSS feed (maybe?)
I think this is an advanced topic, although I am not an advanced Java user myself. What I want to do is create an app that subscribes to social networking sites, e.g. Twitter, and downloads new content. I think I'll need a web service to do this and I am wondering whether anyone has done anything like this before and whether anyone can give me a kick start and send me in the right direction. Sorry if that's not much info, I am in investigative mode to see whether this can be done.
Thanks!
- 06-25-2009, 11:14 PM #2
You just need to connect to the feed and decode the xml data. URLConnection and a simple XML parser is all you need.
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 06-26-2009, 08:11 AM #3
Member
- Join Date
- Mar 2009
- Posts
- 22
- Rep Power
- 0
You could take a look at rome for parsing or creating rss or atom feeds.
- 06-26-2009, 04:00 PM #4
Member
- Join Date
- Jun 2009
- Posts
- 3
- Rep Power
- 0
Rome is the capital of Italy.
Afraid I don't follow!
Let's say all I want is the XML for someone's latest blog post. I don't need to parse it, just grab it as a file and store it.
- 06-26-2009, 04:02 PM #5
Member
- Join Date
- Jun 2009
- Posts
- 3
- Rep Power
- 0
Also I heard that URLConnection has problem with hanging if there's nothing coming down the pipes.
- 06-26-2009, 05:00 PM #6
Well if you're trying to download something that isn't there there's not much you can do anyway.
Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
How To Ask Questions The Smart Way
- 06-28-2009, 09:42 PM #7
Member
- Join Date
- Mar 2009
- Posts
- 22
- Rep Power
- 0
Well... a nice article about ROME for you...
Manage RSS feeds with the Rome API - JavaWorld
or if I felt like being plain mean, i could provide you with this link:p
Of course if you don't need all the functionallity of managing different types of seeds (different rss versions, atom versions and so on), it's easier to just write your own xml parser and use URLConnection.
Similar Threads
-
web service database help
By fiqueudrue in forum New To JavaReplies: 3Last Post: 01-23-2009, 02:43 PM -
Print Service
By Unite in forum Advanced JavaReplies: 0Last Post: 01-14-2009, 09:20 AM -
Problem of Web Service
By nihongbin in forum XMLReplies: 1Last Post: 12-11-2008, 04:20 AM -
line feed in CSV
By javaplus in forum New To JavaReplies: 2Last Post: 01-24-2008, 03:46 PM -
Web Service from JSP
By Eric in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-02-2007, 05:00 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks