[release] AveScripter
#42
Posted 15 November 2005 - 10:15 PM
Recall said:
Wow fantastic, is there an ability to adjust the amount of feeds on view for RSS?
Are you talking about the amount of "lines" you see from a RSS in the viewer? The skin could be adjust to put a limit. If you change the script code you could set a maximum.
var ItemCnt = XMLFeed.GetValueCount('//channel/item');
Gets the amount the total of "items" a rss has. You could do something like this
var ItemCnt = XMLFeed.GetValueCount('//channel/item');
if (ItemCnt > 20) //limit of 20
{
ItemCnt = 20
}
Is this what your talking about? Or someone could make a Better version of rss and have it configurable. Or I can do it later after I do all the other more important things
#45
Posted 16 November 2005 - 12:20 AM
Nobody has answered my question. Is there a way that I was supposed to install it? I put it in the Installable Packages folder; nothing happened. I unrarred the contents into my Desklets folder, and I only see Avescripter in the list, and nothing else. There is no dropdown menu to choose the desklet to run. I removed the directory, closed all avescripter instances, and then recopied the directories from the avescripter installer package once more, but still, I get nothing. Can anyone help me? i know I'm not alone in this problem. Please help. Thanks.
#49
Posted 16 November 2005 - 01:39 AM
solarsaur said:
Nobody has answered my question. Is there a way that I was supposed to install it? I put it in the Installable Packages folder; nothing happened. I unrarred the contents into my Desklets folder, and I only see Avescripter in the list, and nothing else. There is no dropdown menu to choose the desklet to run. I removed the directory, closed all avescripter instances, and then recopied the directories from the avescripter installer package once more, but still, I get nothing. Can anyone help me? i know I'm not alone in this problem. Please help. Thanks.
Sorry... I answered this question before.. maybe in the bug area.. Download the latest version 1.0.0.1 there was a bug at i noticed after released that for some reason windows doesn't report the subdirectories as directories. This was fixed rightaway.. You should download the latest. Or just the engine. Both are at the site.
#52
Posted 16 November 2005 - 04:42 AM
pcm said:
What is the URL? if you don't mind telling me.
The skin only supports RSS2 not RDF. Someone could very easly modify the skin to do RDF. Also, there is a bug with the feed if its a HTTPS. (Expect a fix this week I didn't think about https)
The skin only supports RSS2 not RDF. Someone could very easly modify the skin to do RDF. Also, there is a bug with the feed if its a HTTPS. (Expect a fix this week I didn't think about https)
I see now, turns out that I was trying with my atom feeds, anyways I just got it work whit the AS RSS feed, thanks.
#54
Posted 16 November 2005 - 01:23 PM
I just want to let everyone know, before I get lots of emails with this question. You got my permission to hack and do what ever you want with the sample scripts that I bundled with. That was the point of the scripts to begin with. In the future update release I'll be writing that in the readme. The calculator script is Andreas, but I'm sure he is more than happy to let people hack away too.
#55
Posted 16 November 2005 - 03:51 PM
On another note. I forgot to mention. There is a XML SDK document in the install directory of avescripter. The XML can be viewed using the XSL file there. I'll try to create a PDF or something a bit later.
To get the latest document, always look in that directory after an Update. Since I will always include it with updates.
To get the latest document, always look in that directory after an Update. Since I will always include it with updates.
#56
Posted 16 November 2005 - 10:33 PM
pcm said:
Are you talking about the amount of "lines" you see from a RSS in the viewer? The skin could be adjust to put a limit. If you change the script code you could set a maximum.
var ItemCnt = XMLFeed.GetValueCount('//channel/item');
Gets the amount the total of "items" a rss has. You could do something like this
var ItemCnt = XMLFeed.GetValueCount('//channel/item');
if (ItemCnt > 20) //limit of 20
{
ItemCnt = 20
}
Is this what your talking about? Or someone could make a Better version of rss and have it configurable. Or I can do it later after I do all the other more important things
var ItemCnt = XMLFeed.GetValueCount('//channel/item');
Gets the amount the total of "items" a rss has. You could do something like this
var ItemCnt = XMLFeed.GetValueCount('//channel/item');
if (ItemCnt > 20) //limit of 20
{
ItemCnt = 20
}
Is this what your talking about? Or someone could make a Better version of rss and have it configurable. Or I can do it later after I do all the other more important things
Yep, so I can have more feeds than default. But a customizable version would be cool. Is it possible with avescripter to code a desklet that can be resized on the fly?
#58
Posted 16 November 2005 - 11:53 PM
Recall said:
Yep, so I can have more feeds than default. But a customizable version would be cool. Is it possible with avescripter to code a desklet that can be resized on the fly?
The RSS shows only 6 at one time, you can scroll down and see the rest. The next release (Friday), you'll be able to scroll using the scroller of the mouse.
I was about to say, yes you can by doing the following
this.deskletwidth = this.deskletwidth + 10;
BUT that will resize the desklet and scale the image. I can very easly add a new command that would allow resize of desklet without scaling. I'll add that to my TODO list. Just before the ability to draw directly on a layer. ALA Canvas. Need to get the list typed out and public so people have an idea of what is left and what will be coming.
You could make a desklet with different sizes for each side.. New Ticker is an example of that. Small ticker in front and a large back side.
Since the author mentioned he gave full access for us to do anything we want, I was planning to port it over. I already have some of the code done when I did a small screen shot... just matter of going back and completing it.
#60
Posted 17 November 2005 - 06:04 AM
Aquaowl said:
can you set a custom rss feed with the rss widget ? where to go to do to this ?
hover your mouse over the bottom right corner.. then click what fades in.
excellent addition to avedesk. very smooth... just needs to grab a larger crowd of devs to make more widgets. though, it already comes with many widgets that fits most peoples needs.
a question: i right click any one of the widgets it comes with... and i choose "control panel" and does nothing. is it supposed to or no?
excellent work.








Sign In »
Register Now!
Help


MultiQuote
