* @param name
* @param value
*/
protected void handleSyndication(IUsesSyndication synobj, String name, String value) throws RssParseException{
checkSyndication();
RssSyndication syn = synobj.getChannelSyndication();
if(syn==null){
syn = new RssSyndication();
synobj.setChannelSyndication(syn);
}
if("updatePeriod".equals(name)){
syn.setUpdatePeriod(value);
}
if("updateFrequency".equals(name)){
syn.setUpdateFrequency(Integer.parseInt(value));
}
if("updateBase".equals(name)){
try{
syn.setUpdateBase(value);
}
catch(ParseException e){
throw new RssParseException("Syndication update base date value not convertible from ISO8601: '"+value+"'");
}
}