Search found 2906 matches
by support
Fri Feb 16, 2018 11:33 pm
Forum: Awasu - Extensions
Topic: awasu-api version on PyPi
Replies: 1
Views: 33

Re: awasu-api version on PyPi

Ah, I was wondering if/when somebody would notice this :-) IIRC, I deliberately didn't update PyPi because I wasn't really happy with the new version that support both Python 2 and 3. I realized that there are a lot of subtle semantic differences in string handling and trying to write code that tran...
by support
Sat Feb 10, 2018 9:15 am
Forum: Awasu - General Discussion
Topic: How use batch processing to detect RSS in links
Replies: 7
Views: 106

Re: How use batch processing to detect RSS in links

Another way to create many channels at once is to import an OPML file. Actually, that's a pretty clever idea :clap: Awasu impresses even me, sometimes... :-) Import from OPML also has an option to create the imported channels in a specific folder, so as long as you want to put the new channels in t...
by support
Fri Feb 09, 2018 10:20 am
Forum: Awasu - General Discussion
Topic: How use batch processing to detect RSS in links
Replies: 7
Views: 106

Re: How use batch processing to detect RSS in links

If you call $/channels/create , the Channel Wizard won't show at all, the channel will just be created (with default settings). If you want to set folders, you can specify them in the XML you send when creating the channel. Call $/channels/list to see what the XML looks like, then send the same thin...
by support
Thu Feb 08, 2018 8:20 pm
Forum: Awasu - General Discussion
Topic: How use batch processing to detect RSS in links
Replies: 7
Views: 106

Re: How use batch processing to detect RSS in links

Use the $/channels/create API call for each one.

If you really want the New Channel Wizard to come up, call $/channels/create instead.
by support
Thu Feb 08, 2018 7:36 pm
Forum: Awasu - General Discussion
Topic: How use batch processing to detect RSS in links
Replies: 7
Views: 106

Re: How use batch processing to detect RSS in links

There isn't really a way to automate this in Awasu, so you'll have to do it yourself. Fortunately, Python to the rescue - the process of detecting feed URL's is called "auto-discovery", and a Google search turns up a few possibilities e.g. this.
by support
Thu Jan 11, 2018 6:54 am
Forum: Awasu - Bug Reports
Topic: Bug, Feature, or PEBKAC
Replies: 3
Views: 194

Re: Bug, Feature, or PEBKAC

I've been a little quiet in 2017 due to some health problems, but I'm getting better now. Ah, sorry to hear that. I thought you were enjoying all your new-found free time, out on the golf course or something like that... :-) I thought I might have been doing something wrong as you've thoroughly deb...
by support
Fri Jan 05, 2018 8:58 am
Forum: Awasu - Bug Reports
Topic: Bug, Feature, or PEBKAC
Replies: 3
Views: 194

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...
by support
Thu Dec 14, 2017 7:49 pm
Forum: Awasu - General Discussion
Topic: How search work?
Replies: 1
Views: 156

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...
by support
Sun Sep 03, 2017 11:52 am
Forum: Awasu - Extensions
Topic: Changing channel name on the fly
Replies: 4
Views: 913

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 :)
by support
Sun Sep 03, 2017 11:45 am
Forum: Awasu - Extensions
Topic: Changing channel name on the fly
Replies: 4
Views: 913

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.
by support
Sun Sep 03, 2017 11:03 am
Forum: Awasu - Extensions
Topic: Changing channel name on the fly
Replies: 4
Views: 913

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...
by support
Fri Sep 01, 2017 9:55 am
Forum: Awasu - General Discussion
Topic: Why Awasu duplicates articles?
Replies: 2
Views: 729

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 ...
by support
Fri Sep 01, 2017 9:44 am
Forum: Awasu - General Discussion
Topic: Why Awasu duplicates articles?
Replies: 2
Views: 729

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...
by support
Sat Aug 26, 2017 8:46 am
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 810

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...
by support
Sat Aug 26, 2017 12:11 am
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 810

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...

Go to advanced search