if(pos > 0) {
part = bms.substring(0, pos);
}
bms = bms.substring(pos+1);
if(part.length()>0) {
RssStoreInfo rsi = null;
//#ifdef DCOMPATIBILITY1
//@ RssFeed bm1 = new CompatibilityRssFeed1( part );
//@ RssItunesFeed bm = new RssItunesFeed( bm1 );
//#elifdef DCOMPATIBILITY2
//@ RssFeed bm2 = new CompatibilityRssFeed2( part );
//@ RssItunesFeed bm = new RssItunesFeed( bm2 );
//#elifdef DCOMPATIBILITY3
//@ RssItunesFeed bm2 =
//@ CompatibilityRssItunesFeed3.deserialize3(
//@ true, part );
//@ RssItunesFeed bm = new RssItunesFeed( bm2 );
//#else
RssItunesFeed bm = null;
if (itunesCapable) {
if (saveMemoryEnabled) {
rsi = RssItunesFeed.getStoreStringInfo(
true, false, part, itemsEncoded );
} else {
bm = RssItunesFeed.deserialize(
itemsEncoded, part );
}
} else {
bm = new RssItunesFeed(new RssFeed(
firstSettings, itemsEncoded, part ));
}
//#endif
if((bm != null) && (bm.getName().length()>0)){
final String fname = bm.getName();
m_bookmarkList.append(fname,null);
m_rssFeeds.put(fname, bm);
} else {
final String fname = rsi.getName();
m_bookmarkList.append(fname,null);
m_rssFeeds.put(fname,
rsi.getStoreString(), false);
}
}
if( part.length()==0)
stop = true;
}while(!stop);