Google Merchant Module for ROME

Google Merchant is the way a company can feed their products into Google Shopping and ROME is a Java Library to create and parse RSS and ATOM feeds. Google Merchant allows RSS as one of the feed formats you can use to feed them their data. In order to get additional information into ROME created feeds you have to implement 4 classes, so it is not really easy to get your data there.

I created a small Library to make RSS feeds that conform to Google Merchants requirements:

        final SyndFeed feed = new SyndFeedImpl();
        feed.getModules().add( new GoogleMerchantModuleImpl() );

        final SyndEntry entry = new SyndEntryImpl();

        entry.setTitle( "Title" );

        final GoogleMerchantModule merchantData = new GoogleMerchantModuleImpl();
        merchantData.setImageLink( "SOME IMAGE URL" );

        entry.getModules().add( merchantData );

It’s under MIT License up in Github, you can direct download the Version 0.1 here.

More History

Today I found out that use.perl.org is shutting down, or at least it is not accepting any new posts anymore. As I had my first blog on use.perl.org I wanted to preserve the data. This was quite easy as I just had to enhance a little script that I found on perlmonks.org in order to  export the text of the use.perl.org entries to create an RSS file which I just imported here.  Thus my blog history now starts in September 2003, which is more than 8 years ago.

The code is here: