Search found 2868 matches
by support
Sat Jul 22, 2017 1:11 pm
Forum: Awasu - Feature Requests
Topic: Return channel as JSON and XML
Replies: 2
Views: 13

Re: Return channel as JSON and XML

There are several ways you can get this information, depending on exactly what you want, and how you want to do it. Reports can return content in any format, including JSON and XML (e.g. see MetaChannel.template ), so you could create a report that includes the channels you want. This would be reall...
by support
Fri Jul 21, 2017 6:42 am
Forum: Awasu - Extensions
Topic: How get channel lis in specific report?
Replies: 2
Views: 33

Re: How get channel lis in specific report?

BTW, this can get complicated, since reports can be configured to use channels in a folder (and only that folder), or channels in a folder or any sub-folder. I would build 2 dictionaries, one that records what folders each channel is in, and another one that records all the parent folders of those f...
by support
Fri Jul 21, 2017 6:25 am
Forum: Awasu - Extensions
Topic: How get channel lis in specific report?
Replies: 2
Views: 33

Re: How get channel lis in specific report?

First, get the Awasu folders using either $/channels/folders/list (flat structure) or $/channels/folders/tree (tree structure). To find out what folders a channel is in, call $/channels/list , with a verbose=1 parameter. Awasu will then return all the information about each channel, including what f...
by support
Wed Jul 19, 2017 8:23 am
Forum: Awasu - Extensions
Topic: How to use the API to check if an item has been read
Replies: 3
Views: 52

Re: How to use the API to check if an item has been read

I've sent you a new build, and $/feedItems/get will now return each item's state (new|unread|read).

This API call can take multiple item ID's (comma-separated), and it will be much quicker to do them all in one go, rather than calling the API for each individual item.
by support
Fri Jul 14, 2017 2:21 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

I wrote up a tutorial on how character sets and encoding work here.

HTH :)
by support
Fri Jul 14, 2017 1:29 am
Forum: Awasu - Extensions
Topic: How to use the API to check if an item has been read
Replies: 3
Views: 52

Re: How to use the API to check if an item has been read

There isn't an API call to get the read/unread status of an item, but you could do it like this: ⋅  Use $/search/query to run the query (as you did above). ⋅  Get each item's ID ( code[item_no]["id"] ). ⋅  Get the channel's summary page (HTML) using $/channels...
by support
Sat Jul 08, 2017 11:34 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

I want HTML output when I run repport from Awasu This is what happens anyway, so nothing needed here. and JSON data when I call a script. I want a posibility select specified channels by IDs, get unread articles from them and next process in Python. Call $/channels/get to get a channel's summary pa...
by support
Sat Jul 08, 2017 10:39 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

Things like {%REPEAT% FeedItems} and {%REPEAT% Channels-IfGroupingItems} and {%?GROUP-ITEMS-BY-CHANNEL%} only work in report templates. If you try to use them in an API template, nothing will happen (as you saw :-)). I'm also not quite sure how you got this to work at all :) - $/channels/get is spec...
by support
Mon Jun 26, 2017 9:23 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

Cool, glad to hear it's finally going :clap:

The first one is always the hardest, but any scripts you write now can just use this one as a starting point. And it's always so cool to see output coming from a script that's been talking to Awasu ::-):
by support
Sun Jun 25, 2017 1:31 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

You're almost there :-) This line is not necessary, and might even cause problems later: text = data.decode("utf8","ignore").encode("utf8") You're taking the data you read from the file, converting it to Unicode (assuming that it was encoded using UTF8), then converting...
by support
Thu Jun 22, 2017 12:35 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

Yah, Unicode and encodings is difficult You really need to understand the basics of how it all works to have any chance of working with this stuff After few day of research I fully agree. At the start I think that UTF-8 of Awasu HTML report file make situation easier. I was wrong. I feel your pain,...
by support
Wed Jun 21, 2017 6:06 am
Forum: Awasu - General Discussion
Topic: [Plugin] How add, use, modified report HTML file
Replies: 14
Views: 526

Re: [Plugin] How add, use, modified report HTML file

Yah, Unicode and encodings is difficult :( You really need to understand the basics of how it all works to have any chance of working with this stuff - this is a good place to start. The TL;DR is that every time you deal with text, you need to know (1) what characters are in the text and (2) what en...
by support
Fri Jun 02, 2017 11:38 pm
Forum: Awasu - General Discussion
Topic: Using API to feed items to SQL database
Replies: 1
Views: 182

Re: Using API to feed items to SQL database

This plugin will transfer content from your feeds into a MySQL database, as it arrives. It's free, but it was written by one of our users who is no longer around. It still works, but he didn't leave the source code for it, so we can't provide any support for it. We also offer this one , which we wr...
by support
Thu Jun 01, 2017 2:10 am
Forum: Awasu - General Discussion
Topic: WebScrape help
Replies: 3
Views: 212

Re: WebScrape help

This plugin tells you if a page has changed, although not what's changed, which is not quite as good as WebScrape, but a lot easier if you're new to regular expressions.
by support
Wed May 31, 2017 3:27 pm
Forum: Awasu - General Discussion
Topic: WebScrape help
Replies: 3
Views: 212

Re: WebScrape help

What information do you want to extract from the page?

The WebScrape plugin uses regular expressions to extract the information of interest from a page. There are examples in the wiki page, and the ZIP file comes with a help file, but you need to know how regular expressions work.

Go to advanced search