Social network in Dokeos 1.8.6.1 to include RSS feeds

  1. admin-users-en
  2. extra-field-add-en
  3. admin-button-en
  4. admin-config-en
  5. profile-button-en
  6. extra-field-add3-en
  7. admin-config-tools-social-en
  8. admin-config-tools-en
  9. edit-profile-en
  10. profile-edit-en
  11. extra-field-add2-en

I just commited to the Dokeos SVN a little feature to allow for the inclusion of your RSS feed in your profile. This is a little guide on how to enable this (there’s no other guide available at this point and the interface will not suggest you to do something you don’t even know is possible in Dokeos).

First, get to the admin panel (as admin, obviously) and go to the profile link under the users section.

admin-button-en

admin-users-en

Once you get on the new screen, click “Add new field” and define a new text field of which the ID *must be* “rssfeeds” (plural)

extra-field-add-en

extra-field-add2-en

Submit the form (leave the two last fields empty). Make sure you change the new field to “visible” and “Changeable”.

extra-field-add3-en

Now make sure the social tool is enabled. Return to the admin panel and go to the “Configuration settings” under the “Portal” section.

admin-config-en

Click the “Tools” section and scroll right until the bottom of the page.

admin-config-tools-en

Enable the messaging and the social tools (you could enable just the social tool if you wanted but it is a whole lot more interesting with internal messaging).

admin-config-tools-social-en

Now save these settings changes and go to your profile page (using the profile tab)

profile-button-en

Click the “Edit profile” link to edit your profile and enter your blog’s URL in the “RSS feeds” field.

edit-profile-en

profile-edit-en

Note that you can provide *more* than one feed if you want to: just separate them with the semi-column character (;), without spaces.

Now everything is configured, go to your “Shared profile” page. You will see that the feeds that you have added now appear at the bottom of the central column. There is currently a fixed limit at 5 posts per feed.

Development notes:

This integration was highly simplified by the Magpie RSS reader, a GPL library written in PHP that allows reading RSS and Atom formats and parsing the results into a simple PHP array.

There is an included caching mechanism (which stores cached pages into the archive/ directory) that refreshes pages only every 60 minutes (see rss_cache.inc).

It's only fair to share...Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedInShare on TumblrEmail this to someone

Leave a Reply

Your email address will not be published. Required fields are marked *