Search found 2945 matches
- Fri Jan 05, 2018 8:58 am
- Forum: Awasu - Bug Reports
- Topic: Bug, Feature, or PEBKAC
- Replies: 3
- Views: 27987
Re: Bug, Feature, or PEBKAC
G'day, good to see you're still around and Awasu'ing :) Here's the template: {%REPEAT% FeedItems}{%REPEAT% category}{%?ITEM-METADATA% category/id}"{%ITEM-METADATA% awasuId}" "{%ITEM-METADATA% name! encode=csv chars="}" "{%@%}"{%ENDIF%} {%/REPEAT%}{%/REPEAT%} The problem is with this bit: "{%ITEM-MET...
- Thu Dec 14, 2017 7:49 pm
- Forum: Awasu - General Discussion
- Topic: How search work?
- Replies: 1
- Views: 7487
Re: How search work?
1. How then search matching things? 2. Where could be any difference between searching via GUI and via API call? Awasu uses the API to run searches, so the results should be identical. It's probably setting some search parameters that you're not, and this is affecting the results. The easiest way t...
- Sun Sep 03, 2017 11:52 am
- Forum: Awasu - Extensions
- Topic: Changing channel name on the fly
- Replies: 4
- Views: 9871
Re: Changing channel name on the fly
Or if you meant when a channel updates its feed, events BeginChannelUpdate and EndChannelUpdate are raised before and after 

- Sun Sep 03, 2017 11:45 am
- Forum: Awasu - Extensions
- Topic: Changing channel name on the fly
- Replies: 4
- Views: 9871
Re: Changing channel name on the fly
A channel hook can be invoked when the channel's configuration is changed (event name ChannelConfigChanged).
Take a look at the sample LogChannelActivity hook to get a feel for how these things work - it shows what events trigger channel hooks, and what information Awasu passes through.
Take a look at the sample LogChannelActivity hook to get a feel for how these things work - it shows what events trigger channel hooks, and what information Awasu passes through.
- Sun Sep 03, 2017 11:03 am
- Forum: Awasu - Extensions
- Topic: Changing channel name on the fly
- Replies: 4
- Views: 9871
Re: Changing channel name on the fly
It's not recommended, but yes, you can edit a .CHANNEL file, but only when Awasu is not running. The recommended way is to use the $/channels/update API call, sending the fields you want to change as the POST data. The format of this XML is the same as what Awasu returns when you call $/channels/lis...
- Fri Sep 01, 2017 9:55 am
- Forum: Awasu - General Discussion
- Topic: Why Awasu duplicates articles?
- Replies: 2
- Views: 8665
Re: Why Awasu duplicates articles?
Also, items can have a GUID or ID, that is supposed to uniquely identify them, to make this detection of revisions easier, but again, publishing software and/or the author don't always get it right e.g. an item is slightly modified, but issued a new ID, which makes Awasu think that it's a brand new ...
- Fri Sep 01, 2017 9:44 am
- Forum: Awasu - General Discussion
- Topic: Why Awasu duplicates articles?
- Replies: 2
- Views: 8665
Re: Why Awasu duplicates articles?
The item title, URL and published time are all provided by the feed publisher, and are therefore of variable quality :| I've seen feeds where every item has the same URL, or no item has a title nor URL! So, it's possible that the channel is, in fact, publishing items with the same title and/or URL a...
- Sat Aug 26, 2017 8:46 am
- Forum: Awasu - General Discussion
- Topic: Mini PC as search bot / server for Awasu
- Replies: 4
- Views: 9729
Re: Mini PC as search bot / server for Awasu
On the first step I think about making some skeleteon with inexpensive prototype electronic with enough power to run OS and python scripts. We'll definitely need a write-up if you get this going! :-) I think on start about Raspberry, but I think 1GB RAM is not enought to run more complicate scripts...
- Sat Aug 26, 2017 12:11 am
- Forum: Awasu - General Discussion
- Topic: Mini PC as search bot / server for Awasu
- Replies: 4
- Views: 9729
Re: Mini PC as search bot / server for Awasu
This is an intriguing idea. It's common for larger Awasu installations to offload some of the work to other computers - e.g. channel hooks transfer new content to an external database (e.g. MySQL or Postgres) running on another server, and then have a search server (e.g. something Lucene-based) inde...
- Sat Aug 12, 2017 1:01 pm
- Forum: Awasu - Extensions
- Topic: How mark article as read by API?
- Replies: 3
- Views: 8546
Re: How mark article as read by API?
Give it a go and see what happens 
This is a boolean value, and so recognizes 0/1, on/off, true/false or yes/no.

This is a boolean value, and so recognizes 0/1, on/off, true/false or yes/no.
- Sat Aug 12, 2017 3:29 am
- Forum: Awasu - Extensions
- Topic: How mark article as read by API?
- Replies: 3
- Views: 8546
- Sun Aug 06, 2017 12:16 am
- Forum: Awasu - Extensions
- Topic: Script is too long executed and Awasu can't get result from it
- Replies: 3
- Views: 8441
Re: Script is too long executed and Awasu can't get result from it
1. Value is in ms or seconds? Seconds. 2. When Awasy get result will it be wait for this amount of time or go ahead with doing something else? The Pro Edition can have up to 90 channel updates in progress at once. However, if you have more than a few of these long-running plugins, they will eventua...
- Thu Aug 03, 2017 5:39 am
- Forum: Awasu - Extensions
- Topic: Script is too long executed and Awasu can't get result from it
- Replies: 3
- Views: 8441
Re: Script is too long executed and Awasu can't get result from it
What do when scripts need time to execution before send data to Awasu? If your plugin defines a parameter called "Script timeout" , Awasu will use that as the default amount of time to allow the script to run. If your script is called foo.py , create a file called foo.plugin in the same directory t...
- Mon Jul 31, 2017 1:00 pm
- Forum: Awasu - Extensions
- Topic: Generating few channel with one plgin
- Replies: 27
- Views: 22939
Re: Generating few channel with one plgin
My misteak, I should've asked for type(sys.stdout) I get io.TextIOWrapper , you seem to have PseudoOutputFile , and given that the traceback points to a file called pyshell, I rather suspect it's ipython that's screwing things up (at a guess, I'd say it's capturing the output so it can do something ...
- Mon Jul 31, 2017 10:49 am
- Forum: Awasu - Extensions
- Topic: Generating few channel with one plgin
- Replies: 27
- Views: 22939
Re: Generating few channel with one plgin
Do you have the "official" Python distribution (from python.org), or something else e.g. ActiveState's
Start Python from the command line, and tell me what this gives you:
Start Python from the command line, and tell me what this gives you:
Code: Select all
import sys
sys.version
type(sys.stdout.buffer)