Save Json data of blogger feed by category
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
savecbf.php

README.md

saveCategoryBasedFeed

Description:

savecbf(Save category based feed) is Blogger label based json feed collector. Main purpose of this project is saving json data by category in the server to use it for blogger widgets(gadgets).

Feature:

This script works for more than 150 posts feed. It labels the file name by 4 digits(eg. 0000) index numbering. Which mean 0001 will be first 150 posts data and 0002 will be 151~300 posts feed data. This script generates a directory itself to store json files. Which means you don't have to worry about creating a directory for json files. This script supports other languages too.

Requirements:

  1. Web server: There's nothing free! At least this script is free.
  2. PHP in Web server: Only testing and debugging in 7.1xx therefore it is better to be the same version however it wouldn't really make a problem with other versions.

Setting up:

  1. Change blog address in savecbf.php file.
  2. Upload savecbf.php to web server.
  3. Use task scheduler(eg. crontab in linux) to run the script hourly or daily.

Problems & Solve:

  1. Why not using database?:
  • Files are quicker, database is slower. Json files are good enough for blog data.
  1. The name of json file is ugly.. why does it have to use urlencode?
  • To support other languages in any OS. I haven't done testing for linux yet but it should be working on linux because i have used similar script on debian server and it only required small change that i do not remember.
  1. Why PHP? PHP is so bad..
  • You can build same script with other language.

License:

MIT, Simply just use it. I have built it for blogger widgets(gadgets).

Author: