• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

OPML and RSS from YouTube, a parse question

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all, first post and new to Java

Ive been looking for a Java home for a while, I've been using StackOverflow for a while and yes its a great reference however if you get stuck it can take days to get any response,. So not really what Im looking for,

I have a question, which I posted on SO but its still there waiting for a response so Im going to try it here

----------------------------------------------Informa RSS - Class missing error, what am I doing wrong?---------------------------------------------

I've set out some code for reading an OPML file for subscriptions from YouTube. The code comes from Informa RSS here http://informa.sourceforge.net/quickstart.html

When I run the code I get class missing error. The only reference to this I could find suggested the javaDOM version might be wrong since it was updated to DOM2.0 but failed to tell me how I could fix, it just said to use an older one and gave a link to a javaDOM version 0.7?

Now when I installed the JavaDOM 0.7 into the Library for Netbeans the error disappears until I try to run or compile it and it fails....

Now I dont know where to go with it.

I've been struggling with this for a few days now, my main problem is the OPML file has all the same tag information, ie



..and there isn't enough information about how to handle this combination of tags in Java, Ive been searching for three days...
 
Sheriff
Posts: 7126
185
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
At a minimum, we need to see the full text of the error messages.  If your program isn't too long, you can post the code here and UseCodeTags (that's a link).  If the program is too long or it replies on a lot of other classes, post a SSCCE (that's a link).
 
Phil Cee
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've nearly given up on this because generally there is no responses to any RSS queries. That coupled with the fact I couldn't find a live projects of Libraries led me to believe that maybe RSS is a dead duck these days?
I don't know!

My current effort has floundered and is as follows.

As I said I am new to this but I do have some background in the field, I found a Library that sounds great called Rome

The Library was one for Mavern (which I hadn't used before) and some sample code to get it to work.



I've added the Rome to the project which it seemed to accept and load dependences ok, then it spewed out an error related to the JDOM required was missing. I found a post suggesting that the Rome Library needed the older JDOM 1.0 version, and suggested loading in the JDOM 1.0 and JDOM 2.0 into the project - so my window looks like this now.



but now I get another error and Im stuck again!



It a bit strange coming from coding years ago and coming back to it. I know exactly what I want to do but get tripped up because of lack of current ways to do things.
I guess it comes with practice.

Any help here would be appreciated - I had almost given up, I was going to go and write a bespoke version - but I wanted to understand it from the ground up. To do tht I need a working piece of software to backward logic it all out, thing is I cannot even get that far....sigh

Phil
 
Phil Cee
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry forgot this bit,

The code above was not wrote by me, its a script provided that should work if you have done everything correct, I think it downloads a feed from Stack Overflow. I was going to use this to think through how it all works but as I cannot get it to work I cannot proceed.

The reason I chose Rome was because its supposed to decide which 'flavour' of RSS it is and decode accordingly.

The output from someone downloading their Subscriptions RSS is an OPML file that contains the subscriber and link to their RSS.

IGNORE THE Home.java file, that is not part of the problem.
 
Knute Snortum
Sheriff
Posts: 7126
185
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, the error you posted is a Maven (mvn) error.  How are you executing you Java code?  From an IDE?  From the command line?  
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic