![]() | clearString neatComponents
|
|
![]() | clearString neatComponents
|
| |
External Lookup Data Feed to import an RSS |
![]() | ||
![]() | Techniques & KB Articles | ![]() |
External Lookup Data Feed to import an RSS |
![]() | ![]() |
This example describes how to configure the system to read the RSS feed provided by a Wordpress blog.
Configure it with the following fields:
Field name | Datatype |
Title | Text |
Published | Date/Time |
Description | Rich Text |
Content | Rich Text |
guid | Text |
Updated | Updated (read only) |
Record Id | Record Id (read only) |
Configure it as follows (unless otherwise noted, leave all settings blank or at the defaults)
Add the url of the feed, eg http://myblog.com/feed/
Perform lookup: always
Request type: GET
Response type: XML
Table: [Blog]
Response record element XPath: [rss/channel/item]
Then Add the various fields
Table field: [Content]
Response Xpath (relative to record element): [content:encoded]
Table field: [Description]
Response Xpath (relative to record element): [description]
Table field: [Published]
Response Xpath (relative to record element): [pubDate]
Table field: [Title]
Response Xpath (relative to record element): [title]
Table field: [guid]
Include in cache control [x]
Response Xpath (relative to record element): [guid]
'Apply' changes
You should see a summary of what happened, and the Table will be populated with the results.
Go to the External Lookup Data Feed's Behavior Editor, settings / Options / Scheduled lookup.
In the schedule Picker dialog, set it to:
Run task [Daily]
Time [choose a time a few minutes from now, GMT] *
On the Repeat tab
[x] Repeat
Every [10] Minutes – or however frequently you wish.
It will wait until this time, and then start repeating, so if you get the timing wrong it won't start until tomorrow.
Set the feed in your blog to include all postings, not just the last few.
|