Challenge Overview
Project Overview
This challenge should integrate Salesforce Community with RSS feeds.
Competition Tasks
This challange will get RSS feeds and post them to a community.
User type should be Admin User.
Here's a UI Mockup:
Notices
- Use the prefix "PRO_" for names of Apex, Visualforce and custom settings
- Use the prefix "AAA_" for custom object names
- You can use the default or minimum UI. We will apply the final UI on our own
Details
- Admin users can register RSS URLs, RSS1.0, 2.0 and ATOM must be supported.
- The following options should be supported for each URL.
- target (all, or keywords)
- include keywords (Up to 10 keywords can be set, and you need to test with keywords including some DBCS characters)
- exclude keywords (Up to 10 keywords can be set, and you need to test with keywords including some DBCS characters)
- attibutes (title and link are mandatory. you can add other attirbutes like description)
- chatter topic name (RSS name by default)
- community ID to post
- Maximum number of posts to import in a single run.
- The batch runs hourly to fetch RSS's and post the items to the salesforce community
- Each feedItem should be associated with a chatter topic
- Other attribute values which are enabled in the setting should be stored in a feed's body
- Import all items in RSS if it runs for the first time (the last fetch datetime is NULL)
- Store the last fetch datetime in the setting record of each RSS
- You may not register some of the feeds depending on the include and exclude keyword settings��� Import items only which have 'include keywords' but not 'exclude keywords'
- If any exception happens in getting and registering contents, post it as a FeedItem of the admin user for internal use (which should be set in a custom setting)
Performance
- We expect high performance for the implementation.
Tests
- Your Apex classes must be well tested.
Technology Overview
- Salesforce
- RSS / ATOM
Resources
You may want to use some code snippet like rss parsing from https://ap.salesforce.com/packaging/installPackage.apexp?p0=04ti00000006uPu
Final Submission Guidelines
Submission Deliverables
- Zipped Source, package.xml and SFDC dev org, You should prepare your own SFDC environment
- Apex (Including test classes), please provide us your test site information (id/password) for test. You may want to register a new one so you don't have to share your own developer account
- Visualforce
- Custom objects
- Some RSS URLs you tested. You need to test with RSS including some DBCS characters
- A deployment guide with instructions to setup and test your submission
Final Submission
For each member, the final submission should be uploaded to the Online Review Tool.