Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this way, you can manually specify the values that these attributes should take when the extraUrls are harvested.

In this example, the updateCycle_secs parameter is also used to specify the refresh rate of the harvested urls.

Code Block
 {
            "display": "Extract each document (re-extracting every 'updateCycle_secs') with the specified title and summary text",
            "web": {
                "extraUrls": [{
                    "description": "Optional",
                    "title": "Page Title",
                    "url": "http://youraddress.com/title.html"
                }],
                "updateCycle_secs": 86400
            }
        }



 

Refreshing URLs

In this example,the updateCycle_secs parameter is also used to specify the refresh rate of the harvested urls.

Code Block
{
    "description": "wiy",
    "isPublic": true,
    "mediaType": "News",
    "tags": [
        "tag1"
    ],
    "title": "aaa xml test",
    "processingPipeline": [
        {
            "feed": {
                "extraUrls": [
                    {
     
                  "url": "http://www.w3schools.com/xml/simple.xml"
                    }
  
             ],
                "updateCycle_secs": 86400
            }



     },
Panel

Footnotes:

Legacy documentation:

Feed object

Legacy documentation:

Using the Feed Harvester

 

...