Search found 81 matches
by awasu.user
Sun Sep 03, 2017 11:14 am
Forum: Awasu - Extensions
Topic: Changing channel name on the fly
Replies: 4
Views: 230

Re: Changing channel name on the fly

Thank you! Is a posible get hook before channel is updated?
by awasu.user
Sun Sep 03, 2017 10:32 am
Forum: Awasu - Extensions
Topic: Changing channel name on the fly
Replies: 4
Views: 230

Changing channel name on the fly

Is a posibility change channel name when Awasu is running? I think about edition .channel file, but it will be working? I want for search agent channel change his name based on content which was get from Awasu DB by internal search engine:D Yes, it is not sound complicated :)
by awasu.user
Fri Sep 01, 2017 9:28 am
Forum: Awasu - General Discussion
Topic: Why Awasu duplicates articles?
Replies: 2
Views: 231

Why Awasu duplicates articles?

When I generate channels I get often articles with the same title, url and publishing date. Why is it a possible in the same channel? Fx. I have article in the type: "New King speach", http:\\www.bcc.co.uk, published: 12:08. "New King speach", http:\\www.bcc.co.uk, published: 12:...
by awasu.user
Sat Aug 26, 2017 9:22 am
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 186

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'm stucking on defining minimal resurce needed to start. Too much is wasting money, too small is w...
by awasu.user
Sat Aug 26, 2017 7:41 am
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 186

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) ind...
by awasu.user
Fri Aug 25, 2017 2:46 pm
Forum: Awasu - General Discussion
Topic: Mini PC as search bot / server for Awasu
Replies: 4
Views: 186

Mini PC as search bot / server for Awasu

At the last time I think about making small server for Awasu. Free webservers with Python support are too limited with external websites access. I want flexibility with installing another modules too. The best option is buy cluster time and CPU power, but is out of my range. I think about something ...
by awasu.user
Sat Aug 12, 2017 7:11 am
Forum: Awasu - Extensions
Topic: How mark article as read by API?
Replies: 3
Views: 215

Re: How mark article as read by API?

Flag "read" in API call make item read or I have to use:

Code: Select all

read=read
read=unread

r=read
r=unread
?
by awasu.user
Fri Aug 11, 2017 12:34 pm
Forum: Awasu - Extensions
Topic: How mark article as read by API?
Replies: 3
Views: 215

How mark article as read by API?

Idea is simple. When I get articles from Awasu I want specified and selected articles mark as read using article internal Awasu ID. How do it?
by awasu.user
Sat Aug 05, 2017 6:48 am
Forum: Awasu - Extensions
Topic: Script is too long executed and Awasu can't get result from it
Replies: 3
Views: 217

Re: Script is too long executed and Awasu can't get result from it

awasu.user wrote:
support wrote:DefaultValue=300


Questions:
1. Value is in ms or seconds?
2. When Awasy get result will it be wait for this amount of time or go ahead with doing something else?
by awasu.user
Thu Aug 03, 2017 5:15 am
Forum: Awasu - Extensions
Topic: Script is too long executed and Awasu can't get result from it
Replies: 3
Views: 217

Script is too long executed and Awasu can't get result from it

Before generating channel for Awasu I have to make calculation. It's takes few minutes. I have correct result, but execution time is too long for Awasu and I get error. How change that? What do when scripts need time to execution before send data to Awasu?
by awasu.user
Mon Jul 31, 2017 1:56 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 618

Re: Generating few channel with one plgin

Only working solution - change charstet to Windows. In Awasu no errors, characters coding ok.
by awasu.user
Mon Jul 31, 2017 1:10 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 618

Re: Generating few channel with one plgin

support wrote:My misteak, I should've asked for


I change and I got:

Code: Select all

type(sys.stdout.buffer)
<class '_io.BufferedWriter'>


Eh, googling again.
by awasu.user
Mon Jul 31, 2017 12:44 pm
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 618

Re: Generating few channel with one plgin

Official from python.org and ipython installed by pip (for jupyter notebook). Result typing is: Python 3.6.1 (v3.6.1:69c0db5, Mar 21 2017, 18:41:36) [MSC v.1900 64 bit (AMD64)] on win32 Type "copyright", "credits" or "license()" for more information. >>> import sys >>> ...
by awasu.user
Mon Jul 31, 2017 10:38 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 618

Re: Generating few channel with one plgin

It's strange. I use the same version on Win7 and this code make me error :(
by awasu.user
Mon Jul 31, 2017 9:20 am
Forum: Awasu - Extensions
Topic: Generating few channel with one plgin
Replies: 27
Views: 618

Re: Generating few channel with one plgin

Your function in my code: import sys def print_utf8( val ) : sys.stdout.buffer.write( val.encode( "utf-8" ) ) sys.stdout.buffer.write( b"\n" ) rss_data = u'''<?xml version="1.0" encoding="UTF-8" ?> <rss version="2.0"> <channel> <title><![CDATA[W3Scho...

Go to advanced search