See: Description
Interface | Description |
---|---|
EntryInformation |
This class contains information for iTunes podcast feeds that exist at the Item level.
|
FeedInformation |
This class contains information for iTunes podcast feeds that exist at the Channel level.
|
ITunes |
This interface contains the methods common to all iTunes module points.
|
Class | Description |
---|---|
AbstractITunesObject |
This is an abstract object that implements the attributes common across Feeds or Items in an
iTunes compatible RSS feed.
|
EntryInformationImpl |
This class contains information for iTunes podcast feeds that exist at the Item level.
|
FeedInformationImpl |
This class contains information for iTunes podcast feeds that exist at the Channel level.
|
SyndFeedInput input = new SyndFeedInput(); SyndFeed syndfeed = input.build(new XmlReader(feed.toURL())); Module module = syndfeed.getModule("http://www.itunes.com/DTDs/Podcast-1.0.dtd"); FeedInformation feedInfo = (FeedInformation) module; System.out.println( feedInfo.getImage() ); System.out.println( feedInfo.getCategory() ); // Or to create a feed.. ArrayList modules = new ArrayList(); EntryInformation e = new EntryInformationImpl(); e.setDuration( new Duration( 10000 ) ); modules.add( e ); syndEntry.setModules( modules );Similarly you can get an EntryInformation object off SyndEntries or Items.
Copyright © 2023. All rights reserved.