Search found 2898 matches
by support
Mon Jul 31, 2017 6:25 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

You haven't closed the CDATA sections properly :-) When you're having problems like this, one trick you can use is to save the output to a file, then open it in a browser - it might give you more clues as to what the problem is. Also, if I open the XML up in Notepad++, the syntax highlighting tells ...
by support
Sun Jul 30, 2017 11:59 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

first channel finish - get data from here to Awasu n channel finish - get data from here to Awasu end of the script execution Write your script to generate one RSS file for each channel. Create a channel in Awasu for each file. I use in generation code between tags: <![CDATA[ some text ]]> Creating...
by support
Sun Jul 30, 2017 11:40 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

How format output for Awasu to detect multi channel in one script You can't put more than 1 channel in an RSS file. If you want 5 different channels, you need 5 different "files". They can be generated by 1 script, but you need some way to tell the script what channel you want it output i...
by support
Sun Jul 30, 2017 8:44 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

Now, I'm not sure what you're asking... If the plugin is not running at all, create a file called GLOBAL.INI in the Awasu installation directory that looks like this: [Script File Types] .py = Python script [Scripting File Associations] .py = C:\Python\Python36\python.exe and restart Awasu. This ove...
by support
Sun Jul 30, 2017 7:49 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

Can you create a channel for one of the samples that comes with Awasu?
by support
Sun Jul 30, 2017 1:34 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

Can you run (as a plugin) the sample scripts that come with Awasu? If not, the .py extension needs to be associated with your python.exe i.e. if you double-click on a .py file in Windows Explorer, Python should start. If this is setup correctly (and it looks like it is), it looks like you may have s...
by support
Sat Jul 29, 2017 2:34 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

You need to look at the XML and determine the exact nature of the error, but yes, it's probably an encoding issue :-) You have to encode your XML using something , and unless you have a reason to choose something else, UTF8 is probably the best choice. Don't forget to declare what encoding you're us...
by support
Sat Jul 29, 2017 2:17 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

new = an item has been received since you last opened the channel (i.e. when you open the channel, items will go from "new" to "unread") read = you have clicked on an item's link unread = you have not clicked on an item's link Note that you can control an item's read/unread statu...
by support
Sat Jul 29, 2017 6:56 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 950

Re: Generating few channel with one plgin

It should work, give it a go :) For a quick test, you can save the generated output to a file, then create a channel that "subscribes" to that file (choose "Read from a file" in the Channel Wizard). You don't even have to create a channel, just go to the second page of the Channe...
by support
Thu Jul 27, 2017 10:40 pm
Forum: Awasu - Extensions
Topic: How create report by API?
Replies: 1
Views: 214

Re: How create report by API?

You have to send an HTTP POST request; if you embed the parameters in the URL, it will be sent as an HTTP GET . For example: import urllib.request data = b"""<channelReport> <name> My New Report </name> <dataSource type="channelFilter"> <channelFilterName> All </channelFilte...
by support
Thu Jul 27, 2017 1:08 pm
Forum: Awasu - General Discussion
Topic: How get API unread articles from channel as JSON
Replies: 6
Views: 467

Re: How get API unread articles from channel as JSON

Give this a go: { {%REPEAT% Channels-IfGroupingItems insert=","} "{%CHANNEL-METADATA% name}": [ {%REPEAT% FeedItems insert=","} { "id": "{%ITEM-METADATA% AwasuId}", "title": "{%ITEM-METADATA% name!}", "published": "...
by support
Thu Jul 27, 2017 10:21 am
Forum: Awasu - General Discussion
Topic: How get API unread articles from channel as JSON
Replies: 6
Views: 467

Re: How get API unread articles from channel as JSON

Error 1 . if title has ' " ' fx. The template parameter needs to be quoted in the template i.e. "title": "{%ITEM-METADATA% name!}", If the substituted value has quotes, Awasu will escape them for you. Note that the template output file must have a .JSON extension, so that A...
by support
Wed Jul 26, 2017 10:43 pm
Forum: Awasu - General Discussion
Topic: How get API unread articles from channel as JSON
Replies: 6
Views: 467

Re: How get API unread articles from channel as JSON

{%REPEAT%} has a parameter that lets you insert a string between each repeated item (precisely for this reason :| ) e.g. {%REPEAT% FeedItems insert=","} will insert the comma in-between each feed item, but not after the last one.
by support
Tue Jul 25, 2017 11:45 am
Forum: Awasu - Feature Requests
Topic: Return channel as JSON and XML
Replies: 5
Views: 574

Re: Return channel as JSON and XML

Your sugestion about DataRAM is versy intersting. I'll think about it. If you use the DataRAM feature to save the contents of the RAM disk to a file, make sure Awasu is not running when you do it. Otherwise, you might save files while Awasu is updating them i.e. they will be saved to disk in an inc...
by support
Sun Jul 23, 2017 1:13 am
Forum: Awasu - Feature Requests
Topic: Return channel as JSON and XML
Replies: 5
Views: 574

Re: Return channel as JSON and XML

Why [not]one API call? Because Awasu has been written over a period of many years, and things that might make sense now maybe didn't back then :-) The idea was always to let information be extracted out of Awasu based on content , not on structure e.g. "what stories are there about subject X w...

Go to advanced search