This repository was archived by the owner on Oct 30, 2019. It is now read-only.
Feature(RSS): Implementation of RSS2.0 and ATOM1.0 feed.#183
Open
LauraRozier wants to merge 5 commits intodefendtheweb:masterfrom
Open
Feature(RSS): Implementation of RSS2.0 and ATOM1.0 feed.#183LauraRozier wants to merge 5 commits intodefendtheweb:masterfrom
LauraRozier wants to merge 5 commits intodefendtheweb:masterfrom
Conversation
As put in the issues sections there was once a RSS feed. ( defendtheweb#75 ) Right now it is a fairly basic implementation of both RSS and ATOM feeds, as these are most commonly used. Right now it does not use UIDs for feeds, might be added later on. This commit: * Adds a RSS2.0 standard feed implementation * Adds a ATOM 2005 standard feed implementation ( Without UIDs ) * Adds a CSS file for browsers that do not support RSS * Adds a table to the chema * Adds test data for the table
Adds everything that was not there yet.
Also fixes a micro bug("/files/log/" should be "/files/logs/")
* Add functionality to add feeds to the DB
* Add RSS adding to Articles, News and Forum threads ( OP only )
TO-DO:
* Talk to main devs about pruning old feeds
Now follows the standardization of RSS2.0 and ATOM1.0 to ensure compatibility. * Adds the use of UIDs and feed ID to satisfy ATOM. * Adds an update time of sorts to make ATOM happy. * Enlarges the amount of characters the description will show and ends it nicely. * Updates CSS to fit current situation. * Updates Schema.sql to current situation. * Updates TestData.sql to current situation.
Contributor
Author
There was a problem hiding this comment.
Forgot to mention this one, it bugged the logs out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As put in the issues sections there was once a RSS feed and now it's gone. ( #75 )
Made one from scratch that can also run stand-alone, yet it runs using the help of the app right now.
Adds two buttons in the page's footer, one for RSS and one for ATOM.
There is a style-sheet available for browsers that don't support RSS/ATOM.
There is no cleanup procedure for feeds (yet) as I am not sure which method is preferred.
Both feeds follow their standards. (ATOM has UIDs generated by SQL)
Schema and test data have been updated to create required table and examples.
Buttons:

RSS style:

ATOM style:

~ DOSmaster