GithubHelp home page GithubHelp logo

planetjogger's Introduction

PlanetJogger

This is set of files (config files, templates, etc.) used to create PlanetJogger - a feed agregator of blogs that once were hosted on blog site jogger.pl. Test version is avaliable at https://zakr.es/planetjogger/

Requirements

  • working web server (apache/lighttpd/nginx)
  • Linux with shell access (tested with Debian Buster)
  • Planet Venus https://github.com/rubys/venus installed (planet-venus package in Debian, tested with 0~git9de2109-3 version and Debian Jessie)
  • xsltproc installed

Rules

  • in general, blogs are named after original name on Jogger platform (BLOGNAME.jogger.pl becomes BLOGNAME)
  • when possible, HTTPS should be used to grab the feed
  • if multiple feeds are available, full feed with articles should be chosen
  • please send changes as pull requests
  • this is test version, so please assume it will be published to /var/www/planetjogger and hosted on https://zakr.es/planetjogger/ during tests

Files

  • planet-jogger.ini - planet config file
  • index.html.tmpl - main page template file
  • js_index.html.tmpl - template file with JS to shorten visible part of articles (use this one or the one above)
  • atom.xml.xslt - original file from planet venus is used
  • jogger_migration.txt - file with data about old Jogger blogs and new ones
  • make_ini.pl - helper to generate .ini file in alphabetical order (perl make_ini.pl < jogger_migration.txt)
  • Dockrefile - helper to create test environment with Docker
  • jogger_logo_mini.png - minified Jogger's logo to use on planet
  • joggerpl-logo.png - original Jogger's logo used in header (license unknown)

Usage

  • clone this repository
  • adjust config file (look for CHANGME)
  • run planet planet-jogger.ini and observe the output

How to commit

  • Fork repo on GitHub
  • Comment your changes
  • Send pull request
  • Use only upsteam Planet Venus engine (no changes in engine files!)
  • Stick to standards and minimal browser requirements (use HTML & CSS, avoid JS)

planetjogger's People

Contributors

automaciej avatar d33tah avatar dandys avatar dziewannak avatar lrem avatar mdoff avatar mt3o avatar rozie avatar szczja avatar zdzichu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

planetjogger's Issues

Python throws error while parsing on UTF 0xc3 and 0xc4 chars

It is related to utf8 handling in python, it's been discussed here: http://stackoverflow.com/questions/28852804/unicodedecodeerror-ascii-codec-cant-decode-byte-0xc3-in-position-40-ordinal but not in relation to venus planet. I guess, as walkaround, we might do some conversion of rss streams just before the error kicks in.

Sample stacktrace:

ERROR:planet.runner:Error processing https://lottamowi.wordpress.com/feed/
ERROR:planet.runner:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)
ERROR:planet.runner: File "/home/mt3o/src/venus/planet/spider.py", line 480, in spiderPlanet
writeCache(uri, feed_info, data)
ERROR:planet.runner: File "/home/mt3o/src/venus/planet/spider.py", line 229, in writeCache
output = xdoc.toxml().encode('utf-8')
ERROR:planet.runner: File "/usr/lib/python2.7/xml/dom/minidom.py", line 46, in toxml
return self.toprettyxml("", "", encoding)
ERROR:planet.runner: File "/usr/lib/python2.7/xml/dom/minidom.py", line 61, in toprettyxml
return writer.getvalue()
ERROR:planet.runner: File "/usr/lib/python2.7/StringIO.py", line 271, in getvalue
self.buf += ''.join(self.buflist)

I think @d33tah might give some interesting input on our case :-)

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.