Skip to content

Instantly share code, notes, and snippets.

@cdpath
Created May 14, 2018 11:08
Show Gist options
  • Save cdpath/e0b526bc85a295b1e105fa29ca007655 to your computer and use it in GitHub Desktop.
Save cdpath/e0b526bc85a295b1e105fa29ca007655 to your computer and use it in GitHub Desktop.
Full-text RSS with Huginn
{
"schema_version": 1,
"name": "RSS",
"description": "Design Daily",
"source_url": false,
"guid": "34862db1b1318cda2d8b50a94908ffa3",
"tag_fg_color": "#ffffff",
"tag_bg_color": "#ff8000",
"icon": "signal",
"exported_at": "2018-05-14T11:06:25Z",
"agents": [
{
"type": "Agents::WebsiteAgent",
"name": "1 TheType",
"disabled": false,
"guid": "3ac33a95c73cfc6b1da335d25e537055",
"options": {
"expected_update_period_in_days": "2",
"url": "{{url}}",
"type": "html",
"mode": "merge",
"extract": {
"content_": {
"css": "#container",
"value": "."
}
},
"template": {
"author": "TheType"
}
},
"schedule": "every_1d",
"keep_events_for": 604800,
"propagate_immediately": true
},
{
"type": "Agents::RssAgent",
"name": "0 LaVie",
"disabled": false,
"guid": "5c1642c0d5f1122ed51ae4cf65875df1",
"options": {
"expected_update_period_in_days": "5",
"clean": "false",
"url": [
"https://www.wowlavie.com/rss/rssFeed_city.php",
"https://www.wowlavie.com/rss/rssFeed_building.php",
"https://www.wowlavie.com/rss/rssFeed_life.php",
"https://www.wowlavie.com/rss/rssFeed_people.php"
]
},
"schedule": "every_2h",
"keep_events_for": 604800
},
{
"type": "Agents::WebsiteAgent",
"name": "1 LaVie",
"disabled": false,
"guid": "694c27f1a9b3bffe5c51eb570e7dfa5d",
"options": {
"expected_update_period_in_days": "2",
"url": "{{url}}",
"type": "html",
"mode": "merge",
"extract": {
"content_": {
"css": "#container > div.col-sm-8.col-xs-12",
"value": "."
}
},
"template": {
"author": "LaVie"
}
},
"schedule": "every_12h",
"keep_events_for": 604800,
"propagate_immediately": true
},
{
"type": "Agents::WebsiteAgent",
"name": "1 Places Journal",
"disabled": false,
"guid": "7bd4501ca10908df0ebe2c201f6c9590",
"options": {
"expected_update_period_in_days": "2",
"url": "{{url}}",
"type": "html",
"mode": "merge",
"extract": {
"content_": {
"css": "body > div.sticky-footer-wrapper > section > div > section > article",
"value": "."
}
},
"template": {
"author": "Places Journal",
"hovertext": "{{ hovertext | strip_newlines | remove: \\\"\\\\t\\\\t\\\"}}"
}
},
"schedule": "every_12h",
"keep_events_for": 259200,
"propagate_immediately": true
},
{
"type": "Agents::DataOutputAgent",
"name": "2 Full-text RSS",
"disabled": false,
"guid": "97ea41f8a92bc94537358ae6bc3fde0f",
"options": {
"secrets": [
"rss"
],
"expected_receive_period_in_days": 2,
"template": {
"title": "Design Daily",
"description": "",
"item": {
"title": "{{author}} | {{title}}",
"description": "{{content_}}",
"link": "{{url}}",
"content": "{{content}}",
"url": "{{url}}"
}
},
"ns_media": "true",
"rss_content_type": "text/xml"
},
"propagate_immediately": true
},
{
"type": "Agents::RssAgent",
"name": "0 Places Journal",
"disabled": false,
"guid": "9fce4920b022ab24b85c26294d36defe",
"options": {
"expected_update_period_in_days": "5",
"clean": "false",
"url": "http://placesjournal.org/feeds/articles-and-news"
},
"schedule": "every_12h",
"keep_events_for": 604800
},
{
"type": "Agents::RssAgent",
"name": "0 Vice",
"disabled": false,
"guid": "ba4991c37c438dca445f87844093b687",
"options": {
"expected_update_period_in_days": "5",
"clean": "false",
"url": "http://www.vice.cn/index/rss/"
},
"schedule": "every_2h",
"keep_events_for": 604800
},
{
"type": "Agents::RssAgent",
"name": "0 TheType",
"disabled": false,
"guid": "d73bd598b3d1a166d608d15d74a325c6",
"options": {
"expected_update_period_in_days": "5",
"clean": "false",
"url": "https://feeds.feedburner.com/typeisbeautiful"
},
"schedule": "every_2h",
"keep_events_for": 604800
},
{
"type": "Agents::WebsiteAgent",
"name": "1 Vice",
"disabled": false,
"guid": "ef8ff3fda97e5a83201cb78b5595919b",
"options": {
"expected_update_period_in_days": "2",
"url": "{{url}}",
"type": "html",
"mode": "merge",
"extract": {
"content_": {
"css": "#main > article > div > div > div > div.article-body",
"value": "."
}
},
"template": {
"author": "Vice"
},
"user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0"
},
"schedule": "every_12h",
"keep_events_for": 604800,
"propagate_immediately": true
}
],
"links": [
{
"source": 0,
"receiver": 4
},
{
"source": 1,
"receiver": 2
},
{
"source": 2,
"receiver": 4
},
{
"source": 3,
"receiver": 4
},
{
"source": 5,
"receiver": 3
},
{
"source": 6,
"receiver": 8
},
{
"source": 7,
"receiver": 0
},
{
"source": 8,
"receiver": 4
}
],
"control_links": [
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment