[Tutorial] RSSFeed to discord with Huginn

Tutorial How to make autopost bot discord from rss feed website. this is like using zapier [ rssfeed>discord with zapier ]

Event Flow

flowevent.jpg

Setup Discord

Setup Huginn

Rss Agent
{
  "expected_update_period_in_days": "5",
  "url": [
    "http://www.grogol.us/news/rss.php",
    "http://www.grogol.us/news/rssmanga.php",
    "http://www.grogol.us/news/rssblog.php"
  ],
  "clean": "false"
}
Formatter Agent
{
  "instructions": {
    "content": " content | strip_html  ",
    "description": ".jpg",
    "title": "title",
    "url": "url"
  },
  "matchers": [
    {
      "path": "description",
      "regexp": "(?<=src=\").+(?=.jpg)",
      "to": "jpg_url"
    }
  ],
  "mode": "clean"
}
Post Agent
{
  "post_url": "https://discordapp.com/api/webhooks/595513961873670144/sgcJcOL8c9Sgkw4f8wAaiwajwPPn-cjQRixbB3ZMDmP7fcadHaZwsQDqiY1h1tx77604",
  "expected_receive_period_in_days": "4",
  "content_type": "json",
  "method": "post",
  "payload": {
    "content": "***[UPDATE ANIME]*** @everyone ",
    "embeds": [
      {
        "title": "__****__",
        "description": "```content```",
        "url": "url ",
        "color": "1127128",
        "image": {
          "url": "description"
        }
      }
    ]
  },
  "emit_events": "true",
  "no_merge": "true",
  "output_mode": "clean"
}

rssdiscord-whd-28922.jpg

Thankyou :)