Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #23737 > unrolled thread

Getting Enclosure Contents using Rome RSS parser

Started bygalois271@gmail.com
First post2013-04-30 08:58 -0700
Last post2013-04-30 15:00 -0700
Articles 14 on this page of 34 — 7 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Getting Enclosure Contents using Rome RSS parser galois271@gmail.com - 2013-04-30 08:58 -0700
    Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 15:10 -0400
      Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 15:20 -0400
        Re: Getting Enclosure Contents using Rome RSS parser lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-04-30 20:30 +0100
      Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 12:23 -0700
        Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-04-30 12:27 -0700
          Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 12:58 -0700
            Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 13:08 -0700
              Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-04-30 16:28 -0400
            Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-04-30 13:59 -0700
              Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-04-30 16:54 -0700
                Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-04-30 17:31 -0700
              Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-04-30 21:33 -0400
                Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 03:15 -0400
                  Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 20:33 -0400
                    Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-01 18:42 -0700
                      Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 21:56 -0400
                        Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-02 12:17 -0700
                          Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 19:50 -0400
                            Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-02 18:27 -0700
                              Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 21:39 -0400
                                Re: Getting Enclosure Contents using Rome RSS parser Lew <lewbloch@gmail.com> - 2013-05-02 18:44 -0700
                                  Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-02 21:55 -0400
              Re: Getting Enclosure Contents using Rome RSS parser lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-05-01 06:59 +0100
                Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 03:18 -0400
                  Re: Getting Enclosure Contents using Rome RSS parser Chuck Johnson <galois271@gmail.com> - 2013-05-01 07:19 -0700
                    Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 11:11 -0400
                    Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 11:37 -0400
                      Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 12:54 -0400
                        Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 13:15 -0400
                        Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 13:27 -0400
                        Re: Getting Enclosure Contents using Rome RSS parser Jeff Higgins <jeff@invalid.invalid> - 2013-05-01 13:33 -0400
                    Re: Getting Enclosure Contents using Rome RSS parser Arne Vajhøj <arne@vajhoej.dk> - 2013-05-01 20:30 -0400
    Re: Getting Enclosure Contents using Rome RSS parser Roedy Green <see_website@mindprod.com.invalid> - 2013-04-30 15:00 -0700

Page 2 of 2 — ← Prev page 1 [2]


#23808

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-02 21:39 -0400
Message-ID<5183154e$0$32112$14726298@news.sunsite.dk>
In reply to#23806
On 5/2/2013 9:27 PM, Lew wrote:
> Arne Vajhøj wrote:
>> Lew wrote:
>>> Arne Vajhøj wrote:
>>>> Let me repeat myself:
>>
>>>> #Why not tell him what you do when you are using a library
>>>> #that has a method that return a raw type!!!!
>>>
>>> Sure:
>>
>>> http://lmgtfy.com/?q=Java+what+do+with+legacy+method+that+returns+a+raw+type
>>
>> Could you be a bit more specific.
>>
>> I checked the first 8 links and they either did not suggest
>> a solution or suggested @SuppressWarnings.
>>
>> I mean: you did try it and found a link before posting right?
>
> I tried it and found dozens of links mentioned.
>
> If you don't like it, come up with a better query.
>
> What's the matter, you don't know how to use a search engine?
>
> I'm not here to give Google lessons. Look it up yourself.

Are you telling me that you are criticizing someone for
using @SuppressWarnings in a specific context and you
don't have an alternative to suggest?

Arne

[toc] | [prev] | [next] | [standalone]


#23809

FromLew <lewbloch@gmail.com>
Date2013-05-02 18:44 -0700
Message-ID<2cc6acad-20f6-4321-bf63-f645db9b1fd0@googlegroups.com>
In reply to#23808
Arne Vajhøj wrote:
> Are you telling me that you are criticizing someone for
> using @SuppressWarnings in a specific context and you
> don't have an alternative to suggest?

No.

-- 
Lew

[toc] | [prev] | [next] | [standalone]


#23811

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-02 21:55 -0400
Message-ID<518318f6$0$32118$14726298@news.sunsite.dk>
In reply to#23809
On 5/2/2013 9:44 PM, Lew wrote:
> Arne Vajhøj wrote:
>> Are you telling me that you are criticizing someone for
>> using @SuppressWarnings in a specific context and you
>> don't have an alternative to suggest?
>
> No.

So you do have an alternative, but you just won't tell us?

Arne

[toc] | [prev] | [next] | [standalone]


#23757

Fromlipska the kat <"nospam at neversurrender dot co dot uk">
Date2013-05-01 06:59 +0100
Message-ID<LOWdnQRsXb2iMh3MnZ2dnUVZ8nOdnZ2d@bt.com>
In reply to#23749
On 30/04/13 21:59, Lew wrote:
> Chuck Johnson wrote:

[snip]

> And I didn't ask for all your code, I asked for an SSCCE.

How much smaller and more self contained do you imagine it could be?

lipska

-- 
Lipska the Kat©: Troll hunter, sandbox destroyer
and farscape dreamer of Aeryn Sun

[toc] | [prev] | [next] | [standalone]


#23759

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 03:18 -0400
Message-ID<klqfcu$q7p$1@dont-email.me>
In reply to#23757
On 05/01/2013 01:59 AM, lipska the kat wrote:
> On 30/04/13 21:59, Lew wrote:
>> Chuck Johnson wrote:
>
> [snip]
>
>> And I didn't ask for all your code, I asked for an SSCCE.
>
> How much smaller and more self contained do you imagine it could be?
>
Chuck hasn't provided any SSCCE, at lease not anything in the true spirit.

[toc] | [prev] | [next] | [standalone]


#23762

FromChuck Johnson <galois271@gmail.com>
Date2013-05-01 07:19 -0700
Message-ID<b587836b-c76c-4eb2-8b98-8e1325793474@googlegroups.com>
In reply to#23759
On Wednesday, May 1, 2013 2:18:37 AM UTC-5, Jeff Higgins wrote:
> On 05/01/2013 01:59 AM, lipska the kat wrote:
> 
> > On 30/04/13 21:59, Lew wrote:
> 
> >> Chuck Johnson wrote:
> 
> >
> 
> > [snip]
> 
> >


> 
> >> And I didn't ask for all your code, I asked for an SSCCE.
> 
> >
> 
> > How much smaller and more self contained do you imagine it could be?
> 
> >
> 
> Chuck hasn't provided any SSCCE, at lease not anything in the true spirit.

1) I wasn't being snarky in the least.  I was sincerely thankful.   

2) I'm a working student who is just working on a personal project for fun; I don't have lots of time.  I did this same project in Python and it took me nowhere near the time it is taking me in Java.  I guess it's my naive belief that a programmer should be able to reuse someone's code without spending as much time studying it as it would to just write my own.

3)  As for the SSCCE, I don't know what more I can give you.  Like I said before in my first post, you have all the code I've wrote, save the import statements and class declaration, which I didn't include because I was trying to adhere to SSCCE.  

   

[toc] | [prev] | [next] | [standalone]


#23763

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 11:11 -0400
Message-ID<klrb3d$bl4$1@dont-email.me>
In reply to#23762
On 05/01/2013 10:19 AM, Chuck Johnson wrote:
> On Wednesday, May 1, 2013 2:18:37 AM UTC-5, Jeff Higgins wrote:
>> On 05/01/2013 01:59 AM, lipska the kat wrote:
>>
>>> On 30/04/13 21:59, Lew wrote:
>>
>>>> Chuck Johnson wrote:
>>
>>>
>>
>>> [snip]
>>
>>>
>
>
>>
>>>> And I didn't ask for all your code, I asked for an SSCCE.
>>
>>>
>>
>>> How much smaller and more self contained do you imagine it could be?
>>
>>>
>>
>> Chuck hasn't provided any SSCCE, at lease not anything in the true spirit.
>
> 1) I wasn't being snarky in the least.  I was sincerely thankful.

I don't recall anyone accusing you of being snarky.

> 2) I'm a working student who is just working on a personal project for fun; I don't have lots of time.
I did this same project in Python and it took me nowhere near the time 
it is taking me in Java.

Python is a great programming environment.
Java is a great programming environment.

I guess it's my naive belief that a programmer should be able to reuse 
someone's code
without spending as much time studying it as it would to just write my own.

??

> 3)  As for the SSCCE, I don't know what more I can give you.
Like I said before in my first post, you have all the code I've wrote,
save the import statements and class declaration,
which I didn't include because I was trying to adhere to SSCCE.
>
>
Ill ask again. What does .getEnclosures() return?
Have you found the Javadocs.
Javadocs are the key to programming with Java libraries.
What happens when you:
System.out.println(new ArrayList<String>());

In the code you provided you reference:
SyndFeed
SyndFeedInput
SyndEntry
What are these classes, what method do they expose?
I don't need to know, you do.
getEnclosures()
presumably there is an Enclosure class.
Does it provide a getScent() method?
The Javadocs will answer.
Study the Collections API. You can google it.
Study Java Generics, and her relation to the Collections API. You can 
google it.

[toc] | [prev] | [next] | [standalone]


#23764

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 11:37 -0400
Message-ID<klrcjj$kjv$1@dont-email.me>
In reply to#23762
On 05/01/2013 10:19 AM, Chuck Johnson wrote:
>
> 2) I'm a working student who is just working on a personal project for fun; I don't have lots of time.

Noone have as much as they would like. It's a juggling act.

I did this same project in Python and it took me nowhere near the time 
it is taking me in Java.

All depends on what you hope to accomplish.
If you hope to learn a particular programming language and environment
you'll need to spend the time and effort.
If you're hoping to mash up a particular application, well, you know the 
rest.

[toc] | [prev] | [next] | [standalone]


#23765

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 12:54 -0400
Message-ID<klrh5a$f4k$1@dont-email.me>
In reply to#23764
On 05/01/2013 11:37 AM, Jeff Higgins wrote:

> If you're hoping to mash up a particular application, well, you know the
> rest.

Just out of curiosity how much time in Perl, Elisp, Shell, C#, BF ...

[toc] | [prev] | [next] | [standalone]


#23766

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 13:15 -0400
Message-ID<klricb$mj4$1@dont-email.me>
In reply to#23765
On 05/01/2013 12:54 PM, Jeff Higgins wrote:
> On 05/01/2013 11:37 AM, Jeff Higgins wrote:
>
>> If you're hoping to mash up a particular application, well, you know the
>> rest.
>
> Just out of curiosity how much time in Perl, Elisp, Shell, C#, BF ...
>
>
http://www.askdavetaylor.com/can_i_track_an_rss_feed_with_a_shell_script.html

[toc] | [prev] | [next] | [standalone]


#23769

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 13:27 -0400
Message-ID<klrj39$qi1$1@dont-email.me>
In reply to#23765
On 05/01/2013 12:54 PM, Jeff Higgins wrote:
> On 05/01/2013 11:37 AM, Jeff Higgins wrote:
>
>> If you're hoping to mash up a particular application, well, you know the
>> rest.
>
> Just out of curiosity how much time in Perl, Elisp, Shell, C#, BF ...
>
>
http://lincgeek.org/bashpodder/

[toc] | [prev] | [next] | [standalone]


#23770

FromJeff Higgins <jeff@invalid.invalid>
Date2013-05-01 13:33 -0400
Message-ID<klrjdk$sg4$1@dont-email.me>
In reply to#23765
On 05/01/2013 12:54 PM, Jeff Higgins wrote:
> On 05/01/2013 11:37 AM, Jeff Higgins wrote:
>
>> If you're hoping to mash up a particular application, well, you know the
>> rest.
>
> Just out of curiosity how much time in Perl, Elisp, Shell, C#, BF ...
>
>
http://code.google.com/p/superpodder/
Uses Rome

[toc] | [prev] | [next] | [standalone]


#23775

FromArne Vajhøj <arne@vajhoej.dk>
Date2013-05-01 20:30 -0400
Message-ID<5181b3b0$0$32107$14726298@news.sunsite.dk>
In reply to#23762
On 5/1/2013 10:19 AM, Chuck Johnson wrote:
> On Wednesday, May 1, 2013 2:18:37 AM UTC-5, Jeff Higgins wrote:
>> On 05/01/2013 01:59 AM, lipska the kat wrote:
>>> On 30/04/13 21:59, Lew wrote:
>>>> Chuck Johnson wrote:
>>> [snip]
>>>> And I didn't ask for all your code, I asked for an SSCCE.
>>> How much smaller and more self contained do you imagine it could
>>> be?
>> Chuck hasn't provided any SSCCE, at lease not anything in the true
>> spirit.

> 2) I'm a working student who is just working on a personal project
> for fun; I don't have lots of time.  I did this same project in
> Python and it took me nowhere near the time it is taking me in Java.
> I guess it's my naive belief that a programmer should be able to
> reuse someone's code without spending as much time studying it as it
> would to just write my own.

Maybe Python is better for the given task.

Maybe you are better at Python than at Java.

> 3)  As for the SSCCE, I don't know what more I can give you.  Like I
> said before in my first post, you have all the code I've wrote, save
> the import statements and class declaration, which I didn't include
> because I was trying to adhere to SSCCE.

One of the C's stand for compilable so excluding imports and class
declaration is not really adhering to SSCCE.

Arne

[toc] | [prev] | [next] | [standalone]


#23750

FromRoedy Green <see_website@mindprod.com.invalid>
Date2013-04-30 15:00 -0700
Message-ID<3lf0o899kctmhfl9dqut52udqojek8fm2n@4ax.com>
In reply to#23737
On Tue, 30 Apr 2013 08:58:02 -0700 (PDT), galois271@gmail.com wrote,
quoted or indirectly quoted someone who said :

>I can't seem to find any decent documentation on it

IntelliJ Idea and presumable most other IDES have a feature to let you
point at reference and see all the possible methods you could call on
it. It will then show you the parms and individual method  needs.
These are invaluable for navigating through code that parses
something.
-- 
Roedy Green Canadian Mind Products http://mindprod.com
Nothing is so good as it seems beforehand. 
 ~ George Eliot (born: 1819-11-22 died: 1880-12-22 at age: 61) (Mary Ann Evans)

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.java.programmer


csiph-web