|
-
Feb 28th, 2005, 12:58 PM
#1
[Serious] VBF RSS Feed.
I have just completed a early version of VBF Rss feed. Now I need some information regarding RSS Feed. First when and how the links gets updated by Browser? Currently I can click on "Refresh Live Link" in FireFox and it reloads the links. Is there any way I can specify the refresh time in my RSS or in FireFox?
I would like to hear from people who are using RSS Feed.
I will post the Links to my VBF Feed for everyone within the next few days.
Thanks for your help.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Feb 28th, 2005, 01:23 PM
#2
Re: [Serious] VBF RSS Feed.
There is an XPCOM API that seems to deal with a timer
http://www.xulplanet.com/references/.../c_timer1.html
Maybe check into that and see what you can make of it
-
Feb 28th, 2005, 01:29 PM
#3
Re: [Serious] VBF RSS Feed.
 Originally Posted by Cander
Thanks Cander for your post, I will look into it.
I just noticed that If I close the browser and reopen it, then the RSS Feed gets refreshed. What I need is a timer or Refresh the Links when user click on the main menu item.
I wonder It is at all possible to load the new Items without restarting the browser or by clicking Refresh Link button.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Feb 28th, 2005, 01:55 PM
#4
Re: [Serious] VBF RSS Feed.
I would think that Timer api should be exactly what you need. Basically you initialize with how many milliseconds between each refresh then a CallBack function that it will run when the timer 'fires'
My BEST guess from just looking at that page I sent you, something like this MIGHT work
Code:
var mycallback =
{
notify: function(thetimer)
{
//do your thing.
}
};
var myTimer = Components.classes['@mozilla.org/timer;1'].getService(Components.interfaces.nsITimer)
//fire every 1 second
myTimer.initWithCallback(mycallback, 1000, mytimer.TYPE_REPEATING_SLACK);
Again, just a guess as I cant test this since we are not allowe to install Firefox at work.
Last edited by Cander; Feb 28th, 2005 at 02:06 PM.
-
Feb 28th, 2005, 02:03 PM
#5
Re: [Serious] VBF RSS Feed.
 Originally Posted by Cander
I would think that Timer api should be exactly what you need. Basically you initialize with how many milliseconds between each refresh then a CallBack function that it will run when the timer 'fires'
My BEST guess from just looking at that page I sent you, something like this MIGHT work
Code:
var mycallback =
{
notify: function(thetimer)
{
//do your thing.
}
};
var myTimer = Components.classes['@mozilla.org/file/directory_service;1'].getService(Components.interfaces.nsITimer)
//fire every 1 second
myTimer.initWithCallback(mycallback, 1000, mytimer.TYPE_REPEATING_SLACK);
Again, just a guess as I cant test this since we are not allowe to install Firefox at work. 
Sorry for my ignorance, but where would I place the code? Since I am not writing any custom menu or component, FireFox is creating the Menu From the XML file which I am generating.
Thanks for your help again.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Feb 28th, 2005, 02:08 PM
#6
Re: [Serious] VBF RSS Feed.
Dont really know since I am not 100% sure what exactly you are doing. I assumed you were writing an extension. What exactly is generating the RSS?
-
Feb 28th, 2005, 02:09 PM
#7
Re: [Serious] VBF RSS Feed.
 Originally Posted by Cander
Dont really know since I am not 100% sure what exactly you are doing. I assumed you were writing an extension. What exactly is generating the RSS?
I am using an asp file to generate the XML dynamically.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Feb 28th, 2005, 02:16 PM
#8
Re: [Serious] VBF RSS Feed.
Oh ok. Hmm, well i dont know. Maybe the RSS standard has a tag that specifies a refresh?
-
Feb 28th, 2005, 02:20 PM
#9
Re: [Serious] VBF RSS Feed.
 Originally Posted by Cander
Oh ok. Hmm, well i dont know. Maybe the RSS standard has a tag that specifies a refresh?
Yep thats the sort of thing i am looking at. I looked at an existing RSS Feed and they have an element called <lastBuildDate>, It could be that field that browser checks. I am generating that date dynamically everytime the my asp file is called.
Anyhow I will do some more research, thanks for your posts. If any one else has any other thoughts or suggestion please post.
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Feb 28th, 2005, 02:33 PM
#10
Re: [Serious] VBF RSS Feed.
Is it possible for you to use a JS timer or something?
ØØ
-
Feb 28th, 2005, 02:37 PM
#11
Re: [Serious] VBF RSS Feed.
 Originally Posted by NoteMe
Is it possible for you to use a JS timer or something?
ØØ
Nope, its a pure XML file (RSS 2).
Just doing some searching, I dont think FireFox Allow Refreshing Link, It only refresh the links when you load the browser. Thunderbird on the other hand lets you specify a refresh time. Its probably same with other RSS reader. I havent use thunderbird but will check it out. It would have been great If you could have the link refreshed without having to close or clicking refresh menu.
Anyone else here use RSS with FireFox?
[VBF RSS Feed]
There is a great war coming. Are you sure you are on the right side? Atleast I have chosen a side.
If I have been helpful, Please Rate my Post. Thanks.
This post was powered by : 
-
Mar 2nd, 2005, 04:53 PM
#12
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|