Filtering RSS feeds by region and by content - GeoRSS 3.0

GeoRSS Plugin Guide 3.0

Applies to
GeoRSS 3.0
Last updated
2019-07-15
Content type
Guides
Guides > Plugin and extension guides
Language
English
Product
GeoRSS
Version
3.0

You can filter a feed to only show RSS messages for a specified location and for specific text. For example, filter a police feed to only show messages for Charlotte, NC that contain the word "accident".

Before you begin

What you should know

  • The plugin only shows the RSS documents that match at least one region filter and one content filter. When there are no filters, all items are kept. When there are multiple filters, the feed is filtered by Region1 or Regionn and Content1 or Contentn.
  • To filter by region, the RSS feed items must contain geolocation data.
  • To filter by content, you must enter the entire XML tag spelled exactly as in the feed. For example, if a feed has an XML tag named "event_desc", then entering "desc" in the filter does not yield any results.

Procedure

  1. From the Config Tool home page, open the Plugins task.
  2. Select the GeoRSS role, and then click the Feeds tab.
  3. Do one of the following:
    • Add a feed.
    • Edit an existing feed: click the feed, and then click the edit button ().
  4. To filter the feeds by region, go to the Region filters section, click the add button (), and then enter the following information:
    Region name
    A name for the region for which you want to receive messages. For example: Montreal. The name can contain up to 100 characters, including special characters and accents.
    South West Lat. and Long.
    Defines the southern and western edges of a region. Enter the coordinates of the southernmost point in the Lat. field, and the westernmost point in the Long. field.
    North East Lat. and Long.
    Defines the north and east edges of a region. Enter the coordinates of the northernmost point in the Lat. field, and the easternmost point in the Long. field.
    NOTE: You can get the coordinates from a website like Google maps.
  5. To filter the incoming feed by specific text, go to the Content filters section, click the add button (), and then enter the following information:
    XML tag
    The exact name of the tag in the RSS documents.
    Content
    Text found in the tag. Only the RSS documents that contain this text will be shown in your feed. For example, enter "car", and only RSS documents that contain the word "car" in the specified XML tag are displayed in Security Center.
  6. Click OK.
  7. From the Feeds page, click Apply to save your changes.
  8. Test the filters:
    1. On the Feeds page, in the Details column, click the details button () to open and view the RSS documents in the feed.
    2. Notice the number of RSS items in the feed.
    3. In the Region filters section, select one or more filters.
    4. In the Content filters section, select one or more filters.
    5. Confirm that fewer items show in the list.

Example

You create two region filters named Montreal and Ottawa. You create two content filters, one for the event_desc tag that contains the word accident and another for the event_desc tag that contains the word robbery. You will receive RSS documents that meet the following criteria.
  • Montreal and accident

  • Montreal and robbery

  • Quebec and accident

  • Quebec and robbery