sql_lall
Aug 7th, 2005, 08:35 AM
I've made an rss aggregator using PHP, which can tell people when certain feeds they are watching have been updated. I provide a page where they can mark feeds as 'seen', and also provide links to the sites related to each feed.
Many users however have been asking for the status of their feeds to be updateed whenever they click on the link. Is this possible in php?
I was thinking there may be some way to intercept the <a href> click, possibly using JavaScript, so that when it was followed the php update function was called...however, I have no idea whether it is possible to mix the two languages like this, as one is client-side and one is server-side.
Even, would it be possible to send a request when the link is followed, to the server giving it the information required (in this case, two integers) so it can perform a php script while not opening any new windows?
Thanks
Many users however have been asking for the status of their feeds to be updateed whenever they click on the link. Is this possible in php?
I was thinking there may be some way to intercept the <a href> click, possibly using JavaScript, so that when it was followed the php update function was called...however, I have no idea whether it is possible to mix the two languages like this, as one is client-side and one is server-side.
Even, would it be possible to send a request when the link is followed, to the server giving it the information required (in this case, two integers) so it can perform a php script while not opening any new windows?
Thanks