GithubHelp home page GithubHelp logo

stamprss's Introduction

Modeled after the suckless browser, Surf.
Links against webkit, GTK, and libgrss.

Webkit for the rendering of the HTML
GTK for being a window. (I would like to make it embed-capable, too.)
libgrss for easily managing the rss/atom side of it.

Stores a list of feeds in OPML. (groupings won't be used for anything yet, though)

Permanently stores the timestamp that you're considered up-to-date-to

Running:
  Checks timestamp file.
  Fetches feeds.
  Displays updates from after the old timestamp file, in order from oldest to newest.
  Upon exiting, you can either keep the old timestamp (meaning you'll read all of them again), or write the timestamp of the last update you read.
  You could also exit before reading everything, if you want. Then you can resume, as the timestamp will have been partially updated.


Parse OPML to get a FeedsGroup.
Exctract from the FeedsGroup a GList of FeedChannels.
For each FeedChannel, I need to:
  curl the feed to get an xmldocptr
    To do this, I will use libcurl's "easy" interface
  invoke a feedparser to get a GList of FeedItems
  For each FeedItem, either add it to the GList of all items to be viewed, or throw it out. [add-sorted]






Sort the GList by timestamp comparison. (use g_list_sort with a GCompareFunc that references feed_item_get_publish_time)
View them in order! (use feed_item_get_description)


For displaying a single item:

Take the description, load it with:
webkit_web_frame_load_string(frame, CONTENT, "text/html", NULL, /* what here? */);




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.