Download the PHP package nekland/feed-bundle without Composer
On this page you can find all versions of the php package nekland/feed-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package feed-bundle
FeedBundle
Version 2.0 Changes:
- Tested for Symfony 2.1
- Added composer support
- Namespace changed
- (versioning change)
Version 1.1 Changes:
- in the configuration you need to defined an url, not a route. (Maybe another website ? You can type what you want)
- the method getFeedRoute become getFeedRoutes in the ItemInterface (it's an array of routes). For more information, see the ItemInterface or the wiki.
- for naming your feeds you must add |format| (where you want in the filename)
Version 1.0 Warning: finally the new version (1.1) make substantial changes, but not in the code logic.
Features
- can make atom and rss 2.0 feeds
- support multiple feeds
- support edit of feeds
- extensible
- On-the-fly and at-save feed generation
Read about configuration and more on the wiki
https://github.com/Nekland/FeedBundle/wiki
Configuration
app/config.yml
Optional (default values):
Notice that if you want change the path where are saved files, you can redefined this option:
Models
To use the NeklandFeedBundle, you must have class that implements the ItemInterface. In most of case, you can do it with your entities/documents
Usage
Retrieve your feed instance
If your controller extends the base Symfony controller, you can use
Render the feed
Add an item
Tests
NeklandFeedBundle is bundled with some behat flavoured tests. Install BehatBundle and launch it with
app/console -e=test behat @NeklandFeedBundle
TODO
- Annotation configuration
Author :
- Nek http://twitter.com/#!/Nekdev )
Contributors :
- Yohan Giarelli [email protected]