Blog Module:Feed Importing
From ExtractValue Wiki
Contents |
Objective
- Allow Users to import their feeds into Centricity
- Retrieve blogger ATOM feeds and store locally in the Centricity database
- Enable commenting on the blogs directly from Centricity SSO accounts
Specs v1.0
- Create a form where a User inputs the URL for a XML/RSS/ATOM feed
- Create a dropdown menu with the platforms listed below
- Retrieve RSS/ATOM feed from the corresponding platform
- Store in database just like Blog Module:Xignite
- Since all the feeds are produced in a standard format for each platform, different parsers will be used depending on what the platform is.
Platforms and Examples
Confirmation and Check
- Need to confirm that a feed is actually being retrieved.
- If there is a server error, 404 error, or some other error, then the module should give an error and ask the User to re-input the feed URL.
- Need to confirm that there are no duplicate feeds
- If there is a duplicate feed, post an error message that states "This feed is already being retrieved."
- After the feed is submitted, the User must confirm or cancel whether they want to import this feed.
- Display the feed as it would appear on the live site
- Then prompt to confirm or cancel
Specs v 2.0
Claiming
- Like Technorati, a unique tracking code should be generated. See the thumbnail to the right for an example.
- The User will need to create a blog post with this code within it. This will then be in the XML feed.
- There should be a button stating "Complete Claim"
- Once this button is clicked, then parse through the XML feed for this tracking code.
- If found, then the feed is confirmed. If not found, then check for the tracking code once per day for the next 7 days. At the end of 7 days, stop checking.
