Recommend this page to a friend! |
Download .zip |
Info | View files (10) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2006-03-25 (10 years ago) | Not enough user ratings | Total: 592 | All time: 4,990 This week: 909 |
Version | License | PHP version | Categories | |||
x64feeds 1.1.1 | GNU General Publi... | 4.3 | XML, Cache, Templates |
Description | Author | |
This class can generate feeds in different formats by using templates. Some of the current supported feeds formats are: RSS 0.91, RSS 1.0, RSS 2.0 and Atom 0.3. |
x64Feeds Generator 1.1.1 Raphael G. www.atomo64.tk atomo64@atomo64.tk ---Notes--- When using the caching feature, make sure that there's a directory called cache/, where the cached data is going to be stored. And make sure that PHP can create new files and write, since PHP usually is executed as 'nobody' CHMOD 0776 is needed. Even when you give the data to the generator a database name must be given, because it is used when reading/saving from/to the cache. The Atom 0.3 template is not completely valid, but it works with all the tested feeds readers. ---Usage--- To test the generator open the examples like this: http://localhost/feeds/example1.php?FORMAT.xml Where FORMAT is the format of the feeds(the file name of the template). This is in 'path' mode. When 'query' mode is used, open like this: http://localhost/feeds/example1.php?format=FORMAT For more information open x64_feeds.php and read the comments. ---Hints--- You can use mod_rewrite to give a better 'look' to your feeds, but it requires to make some tricks to the class. An example of the .htaccess file could be: RewriteEngine on RewriteRule ^feeds/([^/\.]+)\.xml$ feeds.php?format=$1 [L] |
Files |
File | Role | Description | ||
---|---|---|---|---|
templates (4 files) | ||||
x64_feeds.php | Class | This is the main generator class | ||
readme.txt | Doc. | Some information about the class and important notes | ||
example1.php | Example | This is an example using file database | ||
example2.php | Example | This is an example giving the data as a file database | ||
example3.php | Example | This is an example giving the data as a processed array | ||
example_db.php | Conf. | This is the database used in the example number 1 |
Files | / | templates |
File | Role | Description |
---|---|---|
atom.tpl | Conf. | This is the template for the Atom0.3 feeds |
rss091.tpl | Conf. | This is the template for the RSS 0.91 feeds |
rss100.tpl | Conf. | This is the template for the RSS 100 feeds |
rss200.tpl | Conf. | This is the template for the RSS 2.00 feeds |
x64feeds-2006-03-25.zip 8KB | |
x64feeds-2006-03-25.tar.gz 5KB | |
Install with Composer |
Needed packages | ||
Class | Download | Why it is needed | Dependency |
---|---|---|---|
x64Template Engine | .zip .tar.gz | It is used to parse the templates | Required |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.
Related pages |
The future of the x64Feeds Generator Some information about what it is going to happen with the feeds generator |