title: Android RSS Parse: get image thumbnail
body: <p>I am trying to make a news reader for Android, but I am no able to find out how to parse the thumbnail from each rss item. Do I have to pase every url of the thumbnail and than save them to use them or can I just use them with the url? This is the code for the feed </p>
  
  <pre><code>public class RssFeed implements Parcelable {`
  
      private String title;
      private String link;
      private String description;
      private String language;
      private ArrayList&lt;RssItem&gt; rssItems;
  
      public RssFeed() {
          rssItems = new ArrayList&lt;RssItem&gt;();
      }
  
      public RssFeed(Parcel source) {
  
          Bundle data = source.readBundle();
          title = data.getString("title");
          link = data.getString("link");
          description = data.getString("description");
          language = data.getString("language");
          rssItems = data.getParcelableArrayList("rssItems");
  
      }
  
      @Override
      public void writeToParcel(Parcel dest, int flags) {
  
          Bundle data = new Bundle();
          data.putString("title", title);
          data.putString("link", link);
          data.putString("description", description);
          data.putString("language", language);
          data.putParcelableArrayList("rssItems", rssItems);
          dest.writeBundle(data);
      }
  
      public static final Parcelable.Creator&lt;RssFeed&gt; CREATOR = new Parcelable.Creator&lt;RssFeed&gt;() {
          public RssFeed createFromParcel(Parcel data) {
              return new RssFeed(data);
          }
          public RssFeed[] newArray(int size) {
              return new RssFeed[size];
          }
      };  
  </code></pre>
  
  <p>and this is the Rss reader: (I also created an object RssItem which stores the values).</p>
  
  <pre><code>public class RssReader {
  
      public static RssFeed read(URL url) throws SAXException, IOException {
  
          return read(url.openStream());
  
      }
  
      public static RssFeed read(InputStream stream) throws SAXException, IOException {
  
          try {
  
              SAXParserFactory factory = SAXParserFactory.newInstance();
              SAXParser parser = factory.newSAXParser();
              XMLReader reader = parser.getXMLReader();
              RssHandler handler = new RssHandler();
              InputSource input = new InputSource(stream);
  
              reader.setContentHandler(handler);
              reader.parse(input);
  
              return handler.getResult();
  
          } catch (ParserConfigurationException e) {
              throw new SAXException();
          }
  
      }
  
      public static RssFeed read(String source) throws SAXException, IOException {
          return read(new ByteArrayInputStream(source.getBytes()));
      }
  
  }
  </code></pre>