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


Groups > comp.lang.java.programmer > #23763

Re: Getting Enclosure Contents using Rome RSS parser

From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Getting Enclosure Contents using Rome RSS parser
Date 2013-05-01 11:11 -0400
Organization A noiseless patient Spider
Message-ID <klrb3d$bl4$1@dont-email.me> (permalink)
References (4 earlier) <af9c91a6-954a-49db-b171-9dcd8cd8a6aa@googlegroups.com> <1ea27315-72c5-420e-9c31-02f3b4b19759@googlegroups.com> <LOWdnQRsXb2iMh3MnZ2dnUVZ8nOdnZ2d@bt.com> <klqfcu$q7p$1@dont-email.me> <b587836b-c76c-4eb2-8b98-8e1325793474@googlegroups.com>

Show all headers | View raw


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.

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web