diff --git a/AUTHORS b/AUTHORS deleted file mode 100644 index 8cd722c..0000000 --- a/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -Scott James Remnant -Jeff Waugh diff --git a/INSTALL b/INSTALL deleted file mode 100644 index 354ec69..0000000 --- a/INSTALL +++ /dev/null @@ -1,151 +0,0 @@ -Installing Planet ------------------ - -You'll need at least Python 2.1 installed on your system, we recommend -Python 2.3 though as there may be bugs with the earlier libraries. - -Everything Pythonesque Planet needs should be included in the -distribution. - - i. - First you'll need to extract the files into a folder somewhere. - I expect you've already done this, after all, you're reading this - file. You can place this wherever you like, ~/planet is a good - choice, but so's anywhere else you prefer. - - ii. - Make a copy of the files in the 'examples' subdirectory, and either - the 'basic' or 'fancy' subdirectory of it and put them wherever - you like; I like to use the Planet's name (so ~/planet/debian), but - it's really up to you. - - The 'basic' index.html and associated config.ini are pretty plain - and boring, if you're after less documentation and more instant - gratification you may wish to use the 'fancy' ones instead. You'll - want the stylesheet and images from the 'output' directory if you - use it. - - iii. - Edit the config.ini file in this directory to taste, it's pretty - well documented so you shouldn't have any problems here. Pay - particular attention to the 'output_dir' option, which should be - readable by your web server and especially the 'template_files' - option where you'll want to change "examples" to wherever you just - placed your copies. - - iv. - Edit the various template (*.tmpl) files to taste, a complete list - of available variables is at the bottom of this file. - - v. - Run it: planet.py pathto/config.ini - - You'll want to add this to cron, make sure you run it from the - right directory. - - vi. - Tell us about it! We'd love to link to you on planetplanet.org :-) - - -Template files --------------- - -The template files used are given as a space separated list in the -'template_files' option in config.ini. They are named ending in '.tmpl' -which is removed to form the name of the file placed in the output -directory. - -Reading through the example templates is recommended, they're designed to -pretty much drop straight into your site with little modification -anyway. - -Inside these template files, is replaced with the content -of the 'xxx' variable. The variables available are: - - name .... } the value of the equivalent options - link .... } from the [Planet] section of your - owner_name . } Planet's config.ini file - owner_email } - - url .... link with the output filename appended - generator .. version of planet being used - - date .... { your date format - date_iso ... current date and time in { ISO date format - date_822 ... { RFC822 date format - - -There are also two loops, 'Items' and 'Channels'. All of the lines of -the template and variable substitutions are available for each item or -channel. Loops are created using ... -and may be used as many times as you wish. - -The 'Channels' loop iterates all of the channels (feeds) defined in the -configuration file, within it the following variables are available: - - name .... value of the 'name' option in config.ini, or title - title .... title retreived from the channel's feed - tagline .... description retreived from the channel's feed - link .... link for the human-readable content (from the feed) - url .... url of the channel's feed itself - - Additionally the value of any other option specified in config.ini - for the feed, or in the [DEFAULT] section, is available as a - variable of the same name. - - Depending on the feed, there may be a huge variety of other - variables may be available; the best way to find out what you - have is using the 'planet-cache' tool to examine your cache files. - -The 'Items' loop iterates all of the blog entries from all of the channels, -you do not place it inside a 'Channels' loop. Within it, the following -variables are available: - - id .... unique id for this entry (sometimes just the link) - link .... link to a human-readable version at the origin site - - title .... title of the entry - summary .... a short "first page" summary - content .... the full content of the entry - - date .... { your date format - date_iso ... date and time of the entry in { ISO date format - date_822 ... { RFC822 date format - - If the entry takes place on a date that has no prior entry has - taken place on, the 'new_date' variable is set to that date. - This allows you to break up the page by day. - - If the entry is from a different channel to the previous entry, - or is the first entry from this channel on this day - the 'new_channel' variable is set to the same value as the - 'channel_url' variable. This allows you to collate multiple - entries from the same person under the same banner. - - Additionally the value of any variable that would be defined - for the channel is available, with 'channel_' prepended to the - name (e.g. 'channel_name' and 'channel_link'). - - Depending on the feed, there may be a huge variety of other - variables may be available; the best way to find out what you - have is using the 'planet-cache' tool to examine your cache files. - - -There are also a couple of other special things you can do in a template. - - - If you want HTML escaping applied to the value of a variable, use the - form. - - - If you want URI escaping applied to the value of a variable, use the - form. - - - To only include a section of the template if the variable has a - non-empty value, you can use ..... e.g. - - -

-
- - You may place a within this block to specify an - alternative, or may use ... to - perform the opposite. diff --git a/LICENCE b/LICENCE deleted file mode 100644 index 1090fa3..0000000 --- a/LICENCE +++ /dev/null @@ -1,84 +0,0 @@ -Planet is released under the same licence as Python, here it is: - - -A. HISTORY OF THE SOFTWARE -========================== - -Python was created in the early 1990s by Guido van Rossum at Stichting Mathematisch Centrum (CWI) in the Netherlands as a successor of a language called ABC. Guido is Python's principal author, although it includes many contributions from others. The last version released from CWI was Python 1.2. In 1995, Guido continued his work on Python at the Corporation for National Research Initiatives (CNRI) in Reston, Virginia where he released several versions of the software. Python 1.6 was the last of the versions released by CNRI. In 2000, Guido and the Python core development team moved to BeOpen.com to form the BeOpen PythonLabs team. Python 2.0 was the first and only release from BeOpen.com. - -Following the release of Python 1.6, and after Guido van Rossum left CNRI to work with commercial software developers, it became clear that the ability to use Python with software available under the GNU Public License (GPL) was very desirable. CNRI and the Free Software Foundation (FSF) interacted to develop enabling wording changes to the Python license. Python 1.6.1 is essentially the same as Python 1.6, with a few minor bug fixes, and with a different license that enables later versions to be GPL-compatible. Python 2.1 is a derivative work of Python 1.6.1, as well as of Python 2.0. - -After Python 2.0 was released by BeOpen.com, Guido van Rossum and the other PythonLabs developers joined Digital Creations. All intellectual property added from this point on, starting with Python 2.1 and its alpha and beta releases, is owned by the Python Software Foundation (PSF), a non-profit modeled after the Apache Software Foundation. See http://www.python.org/psf/ for more information about the PSF. - -Thanks to the many outside volunteers who have worked under Guido's direction to make these releases possible. - -B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON -=============================================================== - -PSF LICENSE AGREEMENT ---------------------- - -1. This LICENSE AGREEMENT is between the Python Software Foundation ("PSF"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 2.1.1 software in source or binary form and its associated documentation. - -2. Subject to the terms and conditions of this License Agreement, PSF hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 2.1.1 alone or in any derivative version, provided, however, that PSF's License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 2001 Python Software Foundation; All Rights Reserved" are retained in Python 2.1.1 alone or in any derivative version prepared by Licensee. - -3. In the event Licensee prepares a derivative work that is based on or incorporates Python 2.1.1 or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python 2.1.1. - -4. PSF is making Python 2.1.1 available to Licensee on an "AS IS" basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 2.1.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. - -5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 2.1.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 2.1.1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. - -6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. - -7. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between PSF and Licensee. This License Agreement does not grant permission to use PSF trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. - -8. By copying, installing or otherwise using Python 2.1.1, Licensee agrees to be bound by the terms and conditions of this License Agreement. - -BEOPEN.COM TERMS AND CONDITIONS FOR PYTHON 2.0 ----------------------------------------------- - -BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 - -1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the Individual or Organization ("Licensee") accessing and otherwise using this software in source or binary form and its associated documentation ("the Software"). - -2. Subject to the terms and conditions of this BeOpen Python License Agreement, BeOpen hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use the Software alone or in any derivative version, provided, however, that the BeOpen Python License is retained in the Software, alone or in any derivative version prepared by Licensee. - -3. BeOpen is making the Software available to Licensee on an "AS IS" basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. - -4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. - -5. This License Agreement will automatically terminate upon a material breach of its terms and conditions. - -6. This License Agreement shall be governed by and interpreted in all respects by the law of the State of California, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between BeOpen and Licensee. This License Agreement does not grant permission to use BeOpen trademarks or trade names in a trademark sense to endorse or promote products or services of Licensee, or any third party. As an exception, the "BeOpen Python" logos available at http://www.pythonlabs.com/logos.html may be used according to the permissions granted on that web page. - -7. By copying, installing or otherwise using the software, Licensee agrees to be bound by the terms and conditions of this License Agreement. - -CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT -------------------------------------------------- - -1. This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 ("CNRI"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 1.6.1 software in source or binary form and its associated documentation. - -2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 1.6.1 alone or in any derivative version, provided, however, that CNRI's License Agreement and CNRI's notice of copyright, i.e., "Copyright (c) 1995-2001 Corporation for National Research Initiatives; All Rights Reserved" are retained in Python 1.6.1 alone or in any derivative version prepared by Licensee. Alternately, in lieu of CNRI's License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6.1 is made available subject to the terms and conditions in CNRI's License Agreement. This Agreement together with Python 1.6.1 may be located on the Internet using the following unique, persistent identifier (known as a handle): 1895.22/1013. This Agreement may also be obtained from a proxy server on the Internet using the following URL: http://hdl.handle.net/1895.22/1013". - -3. In the event Licensee prepares a derivative work that is based on or incorporates Python 1.6.1 or any part thereof, and wants to make the derivative work available to others as provided herein, then Licensee hereby agrees to include in any such work a brief summary of the changes made to Python 1.6.1. - -4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS" basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. - -5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. - -6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. - -7. This License Agreement shall be governed by the federal intellectual property law of the United States, including without limitation the federal copyright law, and, to the extent such U.S. federal law does not apply, by the law of the Commonwealth of Virginia, excluding Virginia's conflict of law provisions. Notwithstanding the foregoing, with regard to derivative works based on Python 1.6.1 that incorporate non-separable material that was previously distributed under the GNU General Public License (GPL), the law of the Commonwealth of Virginia shall govern this License Agreement only as to issues arising under or with respect to Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between CNRI and Licensee. This License Agreement does not grant permission to use CNRI trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. - -8. By clicking on the "ACCEPT" button where indicated, or by copying, installing or otherwise using Python 1.6.1, Licensee agrees to be bound by the terms and conditions of this License Agreement. - - ACCEPT - -CWI PERMISSIONS STATEMENT AND DISCLAIMER ----------------------------------------- - -Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, The Netherlands. All rights reserved. - -Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation, and that the name of Stichting Mathematisch Centrum or CWI not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. - -STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/NEWS b/NEWS deleted file mode 100644 index e985e7c..0000000 --- a/NEWS +++ /dev/null @@ -1,4 +0,0 @@ -Planet 1.0 ----------- - - * First release! diff --git a/PKG-INFO b/PKG-INFO deleted file mode 100644 index 6124f76..0000000 --- a/PKG-INFO +++ /dev/null @@ -1,10 +0,0 @@ -Metadata-Version: 1.0 -Name: planet -Version: nightly -Summary: The Planet Feed Aggregator -Home-page: http://www.planetplanet.org/ -Author: Planet Developers -Author-email: devel@lists.planetplanet.org -License: Python -Description: UNKNOWN -Platform: UNKNOWN diff --git a/README b/README deleted file mode 100644 index f5c9ac6..0000000 --- a/README +++ /dev/null @@ -1,12 +0,0 @@ -Planet ------- - -Planet is a flexible feed aggregator. It downloads news feeds published by -web sites and aggregates their content together into a single combined feed, -latest news first. - -It uses Mark Pilgrim's Universal Feed Parser to read from RDF, RSS and Atom -feeds; and Tomas Styblo's templating engine to output static files in any -format you can dream up. - -Keywords: feed, blog, aggregator, RSS, RDF, Atom, OPML, Python diff --git a/THANKS b/THANKS deleted file mode 100644 index 95081e6..0000000 --- a/THANKS +++ /dev/null @@ -1,18 +0,0 @@ -Patches and Bug Fixes ---------------------- - -Chris Dolan - fixes, exclude filtering, duplicate culling -David Edmondson - filtering -Lucas Nussbaum - locale configuration -David Pashley - cache code profiling and recursion fixing -Gediminas Paulauskas - days per page - - -Spycyroll Maintainers ---------------------- - -Vattekkat Satheesh Babu -Richard Jones -Garth Kidd -Eliot Landrum -Bryan Richard diff --git a/TODO b/TODO deleted file mode 100644 index 990c46f..0000000 --- a/TODO +++ /dev/null @@ -1,22 +0,0 @@ -TODO -==== - - * Expire feed history - - The feed cache doesn't currently expire old entries, so could get - large quite rapidly. We should probably have a config setting for - the cache expiry, the trouble is some channels might need a longer - or shorter one than others. - - * Allow display normalisation to specified timezone - - Some Planet admins would like their feed to be displayed in the local - timezone, instead of UTC. - - * Support OPML and foaf subscriptions - - This might be a bit invasive, but I want to be able to subscribe to OPML - and FOAF files, and see each feed as if it were subscribed individually. - Perhaps we can do this with a two-pass configuration scheme, first to pull - the static configs, second to go fetch and generate the dynamic configs. - The more I think about it, the less invasive it sounds. Hmm.