Autobot - Automatic Content Creator


(Vinoth Kannan) #1

Autobot is allows you to import content from external sources.

After the installation you can manage all your autobot polling campaigns in https://discourse.EXAMPLE.com/admin/plugins/autobot/campaigns

Features

Currently it supports importing from below

  • YouTube Channel
  • Website RSS Feed
  • Twitter User Timeline

Options

  • Can configure how frequent Discourse should poll from source for content.
  • Import content as either new topic or reply post for exsiting topic.
  • Setting custom owner username for improted posts.

Settings

  • To import from any YouTube channels you have to configure Google API key in Site Settings.
  • To import tweets configure twitter consumer key and secret.

Further Development

  • Ability to hide source URL for RSS feed imports. (via Campaign setting)

Repo: https://github.com/vinkashq/discourse-autobot


Topic List Previews
How to Delete Autobot?
Hosting podcast(s) in Discourse
Latest update 502 error?
(Алексей Копаев) #2

can I choose in this plug-in, create a new topic, or continue publishing in one branch?


(Vinoth Kannan) #3

If you choose a category then it will create new topics under it. Else if you mention topic id then it will add posts under that topic.


(Алексей Копаев) #4

Is there an option to publish records under a certain user?
And is there a possibility Add link to original article?


(Vinoth Kannan) #5

Not yet. But it’s in my to-do list.

Yes. By default it adding URL of original article in RSS feed import. Currently there is no option to disable it.


(Алексей Копаев) #6

What is missing:

  1. Choose a user under what name to publish
  2. Ability to disable the url source
  3. Stop the word, so that for given words the publication is ignored and not published.
  4. Auto replacement of words, if in rss there is a word “test” Autobot changed it to “test1”

(Vinoth Kannan) #7

It’s done. Now in campaign setting you can set post owner username for imports. :+1:


(DjCyry) #8

Nice work .
Can you also add for example : itunes or beatport ?


(Vinoth Kannan) #9

Thank you @djcyry.

Yes. If you can sponser for it then I can add. Else currently I don’t have plans to do. My next plan is to add Twitter.


(DjCyry) #11

Also is missing :
Images import when you choose RSS/FEED
In my opinion is important .


(Vinoth Kannan) #12

Can you provide sample rss url you used where it missed to import images?


(DjCyry) #13

Sure, here you have :

http://bestdjmix.net/category/techno/feed/
or
https://alldj.org/feed

Here the imported post :

Original post : Finder Bunker Vol. 3 (2017) - Techno - Best Dj Mix


(Vinoth Kannan) #14

Both of these feeds doesn’t included with image. Original URL may have images. But image is not exist in the feed itself.


#15

To create API key I need to create an app on https://console.developers.google.com/apis/credentials and enable youtube api and use that as a google api key right?


(Vinoth Kannan) #16

Yes. You are right :+1:


#17

Okay, but its not working for me. After creating campaign and setting posting interval to 1 min its not posting any videos. :frowning:


(Vinoth Kannan) #18

Polling job will be triggered once in every 5 minutes. So even if you put polling interval value less than 5 then it will take minimum 5 minutes.

Can you see any error in sidekiq?


#19

Jobs::HandledExceptionWrapper: Wrapped Yt::Errors::Forbidden: A request to YouTube API was considered forbidden by the server: To display more verbose errors, change the configuration of Yt with: Yt.c…


(Vinoth Kannan) #20

The error looks like you have not a valid api key. Please check it.

Also try the latest version of the plugin. I updated it yesterday with some issue fixes. I think it will fix your problem.


#21

Its working fine after updating to newer version of plugin. Thanks :slight_smile: