|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
rome.propertiesHi. Is the rome.properties file still a method for adding alternative
Date formats for the ROME date parser? I can't seem to get it to work (e.g., some Yahoo RSS feeds use the format Etc/GMT for specifying the time zone) and the references I've found the various ROME user discussion threads are a few years old now. If it is still an active method, I'll keep trying to debug my code. Thanks. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: rome.propertiesCarlos,
Yes it is, make sure you set a mask that valid for the SimpleDateFormat class. A On Thu, Apr 10, 2008 at 8:39 PM, Carlos S. Zamudio <cszamudio@...> wrote: > Hi. Is the rome.properties file still a method for adding alternative Date > formats for the ROME date parser? I can't seem to get it to work (e.g., some > Yahoo RSS feeds use the format Etc/GMT for specifying the time zone) and the > references I've found the various ROME user discussion threads are a few > years old now. If it is still an active method, I'll keep trying to debug > my code. Thanks. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: rome.propertieshi all,
I write some code and using it getting an rss feed from an url. Data from rss feed is good and right except <pubDate>. The <pubDate> always return null. I find the problem is the date format is invalid. So i try 1.create a file "rome.properties". 2.add 1 line datetime.extra.masks=EEE , dd MMM yyyy HH:mm:ss z the date format is just for the rss feed(like this<pubDate>Mon , 26 May 2008 00:00:00 GMT</pubDate>) 3.put this file in classpath After this 3 steps done, but it not work. Is there anything i lost or what step is wrong?
|
|
|
Re: rome.propertiesI've just tested the mask and the date of your sample and it works.
The rome.properties should be in a directory that is in the classpath, in that directory, not in a subdirectory. A
On Tue, May 27, 2008 at 9:26 AM, WILLIAMer <william.tzeng@...> wrote:
|
| Free Forum Powered by Nabble | Forum Help |