2017 © Pedro Peláez
 

library c-rss-feed

An RSS module to add RSS functionality to MVC frameworks. Developed for Anax-MVC

image

stjo15/c-rss-feed

An RSS module to add RSS functionality to MVC frameworks. Developed for Anax-MVC

  • Wednesday, November 11, 2015
  • by stjo15
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Setting up and using the CRssFeed module with the Anax MVC framework

Build Status Scrutinizer Code Quality Code Coverage, (*1)

  1. Add dependency to "stjo15/c-rss-feed": "dev-master" to 'require' in your Anax-MVC composer.json file., (*2)

  2. In your bash command line, at your Anax-MVC folder, use the command 'composer install --no-dev'. If you didn't install Composer yet, you should!, (*3)

  3. Add Anax-MVC/vendor/stjo15/c-rss-feed/app/config/mysql.php to your config folder. Insert SQL database your username, database name and password to the file., (*4)

  4. Copy the c-rss-feed/app/view folder with contents to Anax-MVC/app/view/, (*5)

  5. Import sql-table/mvc_rssfeed.sql to your database., (*6)

  6. Add the contents of c-rss-feed/webroot/config_with_app.php to Anax-MVC/webroot/config_with_app.php, (*7)

  7. Add the contents of src/db_di.txt to your DI (Dependency Injection) class to inject 'db' as dependency., (*8)

  8. To test your installation, copy the test-controller webroot/rss.php to your Anax webroot and point your browser to it. You might need to make corrections to the path variables or make hard links in order to make it work in your application., (*9)

  9. Use the contents of webroot/examplecontent.php to customize your RSS feed. Read the instructions/documentation., (*10)

  10. Your RSS content database should contain columns for pagekey, id, title and description. However, you can and should choose your own column names in the class RssFeed, in the method getItems(). The xml tags should stay as they are, just change the contents of these tags. For example, if you want to feed your new blog article, put $item['title'] as the content of tag 'title'., (*11)

Important! In the RssFeed:getItems() method, set the variable $itemstable to the name of your content db table., (*12)

There are also functions to edit, delete and list RSS feeds. You should really check out the contents and customize it to your needs., (*13)

The Versions

11/11 2015

dev-master

9999999-dev http://www.student.bth.se/~stjo15/phpmvc/kmom05/Stalles-Me-sida/webroot/

An RSS module to add RSS functionality to MVC frameworks. Developed for Anax-MVC

  Sources   Download

MIT

The Requires

 

micro framework mvc module feed rss

11/11 2015

dev-test

dev-test http://www.student.bth.se/~stjo15/phpmvc/kmom05/Stalles-Me-sida/webroot/

An RSS module to add RSS functionality to MVC frameworks. Developed for Anax-MVC

  Sources   Download

MIT

The Requires

 

micro framework mvc module feed rss

03/11 2015

v1.0

1.0.0.0 http://www.student.bth.se/~stjo15/phpmvc/kmom05/Stalles-Me-sida/webroot/

An RSS module to add RSS functionality to MVC frameworks. Developed for Anax-MVC

  Sources   Download

MIT

The Requires

  • php >=5.4

 

micro framework mvc module feed rss