Git Product home page Git Product logo

opml-core's Introduction

OPML Library for Java

A Java library representing an OPML file. It provides an object model for basic OPML files and a reader to load an object from a file.

There are a number of outline types and the following are supported by this library:

  • Text
  • Link
  • RSS

New outline types can be added by extending the Outline class in the same manner that Link and RSS have. There is an OutlineFactory through which Outline types can be registed which will result in them being created during a read.

I am using this library to tinker with lists of RSS feeds now that Google Reader is finished.

Basic Usage

   Opml opml = new OpmlReader(new File(fileName)).read();

More examples using the library can be seen in the test suite.

Building the Java Wordpress API

A Maven POM is provided with the library.

To build and install the library:

  mvn install

Using the library in your project

The release versions of the library are deployed to Github which means you will need to add a repository to your Maven POM:

  <repositories>
    <repository>
      <id>opml-core-mvn-repo</id>
      <url>https://raw.github.com/ashri/opml-core/mvn-repo/</url>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
      </snapshots>
    </repository>
  </repositories>

You can then reference the library as a dependency using the following:

  <dependencies>
    <dependency>
      <groupId>com.threeheadedmonkey.opml</groupId>
      <artifactId>opml-core</artifactId>
      <version>1.0.0</version>
    </dependency>
  </dependencies>

Copyright

Copyright (c) 2013 Ashley Richardson. See LICENSE for details.

opml-core's People

Contributors

ashri avatar

Watchers

 avatar James Cloos avatar

Forkers

mbenesz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.