Show page source of FrontPage #85159

= ManjyuRss =
ManjyuRss is Free RSS 2.0 Library for Java. ManjyuRss require Java 1.5 or later. ManjyuRss depends Java SE API only. Using ManjyuRss, read and write RSS 2.0 in small memory footprint.

== Home page ==
http://sourceforge.jp/projects/manjyurss/wiki/

== Download ==
[[ReleaseList]]

== System Requirements ==
Java 1.5 or later.

== Licensing ==
ManjyuRss is licensed under a LGPL/EPL/ASL triple license, allowing use of the files under the terms of any one of the GNU Lesser General Public License, the Eclipse Public License, or the Apache License.

== Source Code ==
[http://svn.sourceforge.jp/svnroot/manjyurss/manjyu-rss/trunk/ Source Code]

= GettingStarted =
Using ManjyuRss is very easy.

== Writing RSS 2.0 sample ==
{{{ code java
import java.io.IOException;
import java.util.Date;

import org.manjyu.rss.ManjyuRssSerializer;
import org.manjyu.rss.vo.ManjyuRss;
import org.manjyu.rss.vo.ManjyuRssChannel;
import org.manjyu.rss.vo.ManjyuRssItem;

public class GettingStarted001 {
    public static final void main(final String[] args) throws IOException {
        final ManjyuRss rss = new ManjyuRss();
        final ManjyuRssChannel channel = rss.getChannel();
        channel.setTitle("Sample RSS.");
        channel.setLink("http://www.igapyon.com/");
        channel.setDescription("Description of sample RSS.");
        channel.setLanguage("en_US");
        channel.setCopyright("Copyright(C) Toshiki Iga");
        channel.setPubDate(new Date());

        new ManjyuRssSerializer() {
            @Override
            protected void processItems() throws IOException {
                {
                    final ManjyuRssItem item = new ManjyuRssItem();
                    item.setTitle("bsqlformatter: Free online SQL formatter");
                    item.setLink("http://www.igapyon.com/bsqlformatter/");
                    item.setDescription("bsqlformatter is a Free Online SQL Formatter.");
                    item.setPubDate(new Date());
                    serializeItem(item);
                }
                {
                    final ManjyuRssItem item = new ManjyuRssItem();
                    item.setTitle("Manjyu: classify URL system");
                    item.setLink("http://www.igapyon.com/manjyu/");
                    item.setDescription("Manjyu is URL management system for classify URL as you want.");
                    item.setPubDate(new Date());
                    serializeItem(item);
                }
            }
        }.serialize(rss, System.out);
    }
}
}}}

== Result of writing RSS 2.0 sample ==
{{{ code xml
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <!-- Generated by ManjyuRss (0.0.2-201211142334) -->
  <channel>
    <title>Sample RSS.</title>
    <link>http://www.igapyon.com/</link>
    <description>Description of sample RSS.</description>
    <language>en_US</language>
    <copyright>Copyright(C) Toshiki Iga</copyright>
    <pubDate>Wed, 14 Nov 2012 23:43:32 +0900</pubDate>
    <generator>Manjyu RSS Library (0.0.2-201211142334)</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title>bsqlformatter: Free online SQL formatter</title>
      <link>http://www.igapyon.com/bsqlformatter/</link>
      <description>bsqlformatter is a Free Online SQL Formatter.</description>
      <pubDate>Wed, 14 Nov 2012 23:43:33 +0900</pubDate>
    </item>
    <item>
      <title>Manjyu: classify URL system</title>
      <link>http://www.igapyon.com/manjyu/</link>
      <description>Manjyu is URL management system for classify URL as you want.</description>
      <pubDate>Wed, 14 Nov 2012 23:43:33 +0900</pubDate>
    </item>
  </channel>
</rss>
}}}

For more infomation, see GettingStarted.

= Specification = 
== Spec ==
=== Serializer ===
 * RSS 2.0
  ** Tag <rating>, <textInput>, <skipHours> are not supported currently.
=== Parser ===
 * RSS 2.0
 * RSS 2.0

== Limitation ==
 * Tag <rating>, <textInput>, <skipHours> are not supported currently.