Post Reply
Vorlonze
Posts: 2
Joined: Wed Apr 07, 2021 2:19 pm

Automate a process

Post by Vorlonze » Wed Apr 07, 2021 2:26 pm

I will admit I know absolutely nothing about Python or creating an extension for Awasu.

With that out of the way, I'm looking for an extension that would automate an export to a text file when a new article came up in a RSS feed. What I want is the complete text of the article. Title on the 1st line, and the entire body of the article after.

Anyone know of one created already or can point me in the right direction on how start?

Thanks

User avatar
support
Site Admin
Posts: 3073
Joined: Fri Feb 07, 2003 12:48 pm
Location: Melbourne, Australia
Contact:

Re: Automate a process

Post by support » Wed Apr 07, 2021 3:44 pm

It would be very easy to write an extension like this, but you need to know a bit about Python, or some programming language. There are some examples in the Samples/ sub-directory, so if you know how to program a bit in at least one language, that will get you started. There's more info in the help.

Vorlonze
Posts: 2
Joined: Wed Apr 07, 2021 2:19 pm

Re: Automate a process

Post by Vorlonze » Mon Apr 26, 2021 6:04 pm

Yeah, this is no help to me. If I was to post what I wanted the process to do, would someone be able to post what the extension would look like?
I'll post anyway:
Monitor a RSS feed for a new post
When a new post is found, Extract the post in to 2 text files - 1st text file should contain the Article Name only and the 2nd should contain the entire article.
After the 2 files are created, run an external command (dos preferably).
Mark the article as Read.

I might be able to figure out the details in the extension from an example.

Thanks

Post Reply

Return to “Awasu - Extensions”