WSN Knowledge Base
Featuresspacer Showcasespacer Reviewsspacer Demosspacer Purchasespacer Manualspacer Support
XML Submissions
XML Submissions
By Paul

In your switches, you have an "XML feed submissions" option. Switching this on enables a system where visitors can submit feeds of articles which are automatically processed and updated, instead of submitting the articles individually. In your usergroup permissions you can set who can submit and whether validation is required.

Please note that this article is about submitting a feed such that all items in it will become articles in your knowledge base. If a feed should be associated with a particular article, see Associating an RSS Feed With a Article instead.

The option to submit a feed appears next to that for submitting articles, as long as your usergroup has permission. The simple case is to submit a standard RSS feed, but you can specify any additional custom fields you like in the feed if you desire. Once you've submitted, you can manage your personal feeds in your member home.

When a feed is queried, any links found in it for which the same url hasn't already been added from the same feed will be added to the directory, in the category which the feed was submitted to. For WSN KB, Gallery and Forum, the title is checked instead of url.

The feed cache timeout setting (Admin -> Settings -> Articles) will determine how often these feeds are checked, same as with feeds associated to articles.

Dealing With Images

When submitting a feed of images, presumably from a site like flickr for use in WSN Gallery, the images have to be imported in a delayed fashion (one per page load) to prevent memory errors and script timeouts. Warning: If you use GD, the memory GD uses to load and resize the images counts as part of the script's memory useage and will likely cause you to exceed php.ini's allowable memory limit -- causing the script to die to a blank page. If you can't increase the allowed memory, or would just prefer not to have to, use ImageMagick.

While the images are in the process of being retrieved, generating.png will be shown.

Rating:


5/5 based on 1 vote. The median rating is 5.

Submitted: 08/22/07 (Edited 03/28/08)

Description: Submitting, accepting and displaying RSS or XML Feeds.

Views: 763 views. Averaging 2 per day.
In the most recent 30 day period, there've been 9 views.

Previous Article | Next Article


Home    |    Features    |    Showcase    |    Reviews    |    Demos    |    Purchase    |    Manual    |    Support