| Author |
Message |
|
swivelgames
Transient Squash

Joined: 27 Sep 2005 Posts: 2345 Location: On the planet called Earth
|
Posted: 31 Mar 2011 05:28:32 pm Post subject: RSS feed for Searches |
|
|
I asked Kerm earlier about an RSS feed for the "weekposts" search, but I'd like to expand it to a more broad suggestion to include any search. Would it be possible / reasonable to request an auto-generated RSS feed for a search result, Kerm? (newposts, weekposts, "*Username*", etc...)
Would anyone else use this? |
|
| Back to top |
|
|
comicIDIOT

Guru

Joined: 01 May 2006 Posts: 5108 Location: SFBA, California
|
Posted: 31 Mar 2011 05:40:34 pm Post subject: |
|
|
Given the usefulness of the search box, I don't think I'd benefit. I like the idea of a Weeks Post Feed, though. _________________
-Alex |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10234 Location: A galaxy far far away......
|
|
| Back to top |
|
|
comicIDIOT

Guru

Joined: 01 May 2006 Posts: 5108 Location: SFBA, California
|
Posted: 31 Mar 2011 06:37:11 pm Post subject: |
|
|
| elfprince13 wrote: | | We should pester him to implement ... personal posts/time graph generator. | Seconded! _________________
-Alex |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 31 Mar 2011 09:42:53 pm Post subject: |
|
|
| elfprince13 wrote: | | I think it's a nifty idea. We should pester him to implement this along with the personal posts/time graph generator. | Oh yeah, I had totally forgotten that I needed to implement that. Custom RSS feeds from searches might be a bit expensive, but a weekposts RSS feed is a nice idea. _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10234 Location: A galaxy far far away......
|
Posted: 01 Apr 2011 01:42:13 am Post subject: |
|
|
| KermMartian wrote: | | Custom RSS feeds from searches might be a bit expensive, but a weekposts RSS feed is a nice idea. |
I can't imagine it's much more expensive than generating the HTML page from search, and most RSS readers aren't going to pull data that frequently. _________________ StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 01 Apr 2011 11:43:22 am Post subject: |
|
|
| elfprince13 wrote: | | KermMartian wrote: | | Custom RSS feeds from searches might be a bit expensive, but a weekposts RSS feed is a nice idea. |
I can't imagine it's much more expensive than generating the HTML page from search, and most RSS readers aren't going to pull data that frequently. | True, but all it takes is a handful of users with abusive RSS clients to suddenly start decreasing performance for everyone. _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10234 Location: A galaxy far far away......
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 01 Apr 2011 02:14:51 pm Post subject: |
|
|
| elfprince13 wrote: | | Fair enough. Couldn't you time-limit it in the same way you do searches now? | Oh, I suppose that I could just use the same flood-prevention system, couldn't I? That's an excellent idea. What does everyone else think about this? _________________
 |
|
| Back to top |
|
|
TheStorm

NOU!

Joined: 26 Mar 2007 Posts: 2375
|
Posted: 01 Apr 2011 02:32:40 pm Post subject: |
|
|
I have to agree, this sounds like a great idea and I know of quite a few sites I visit for other things do this as well. _________________
"Always code as if the person who will maintain your code is a maniac serial killer that knows where you live" -Unknown
"If you've done something right no one will know that you've done anything at all" -Futurama
"Have a nice day, or not, the choice is yours." Tom Steiner
<Michael_V> or create a Borg collective and call it The 83+
<Michael_V> Lower your slide cases and prepare to be silent linked. Memory clears are futile. |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 01 Apr 2011 03:33:45 pm Post subject: |
|
|
| TheStorm wrote: | | I have to agree, this sounds like a great idea and I know of quite a few sites I visit for other things do this as well. | Nifty, then I'll implement this and a weekposts feed. In fact, I'd be slightly tempted to remove the recent posts feed, but I won't. The question is, how should I expose the search RSS feed interface? Have a "Create an RSS Feed from this search" link in the search results? _________________
 |
|
| Back to top |
|
|
_player1537

Guru-in-Training

Joined: 25 Nov 2009 Posts: 2958
|
Posted: 01 Apr 2011 05:25:33 pm Post subject: |
|
|
That sounds like a good idea Also, is there a way to get an RSS feed for replies to posts you have made? Mostly out of curiosity  _________________ http://tanner.myserverathome.com
 |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 01 Apr 2011 05:26:23 pm Post subject: |
|
|
| _player1537 wrote: | That sounds like a good idea Also, is there a way to get an RSS feed for replies to posts you have made? Mostly out of curiosity  | That might be a bit overkill for now, I think, as far as payoff vs. coding time. Sorry. _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10234 Location: A galaxy far far away......
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 01 Apr 2011 10:14:53 pm Post subject: |
|
|
| elfprince13 wrote: | | The usual search arguments passed to $_GET rather than $_POST, and a flag to generate RSS rather than html? | Definitely, then should be easy enough, but the trick is expose it in some way so that users know the feature exists without reading this topic.  _________________
 |
|
| Back to top |
|
|
swivelgames
Transient Squash

Joined: 27 Sep 2005 Posts: 2345 Location: On the planet called Earth
|
Posted: 11 Apr 2011 03:04:36 am Post subject: |
|
|
Awesome! Glad this may be implemented.
As for interfacing it to the user you could put an RSS button close by, or display a message like you advertise the "weeks posts" search like the "Create an RSS feed from this search" link you suggested. Should be easy enough to notice, for those who may be interested in the feature but do not yet know about it.
Heck, you could even slap a mini RSS logo the height of the font to precede it to make it stand out a bit more  |
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 11 Apr 2011 09:59:24 pm Post subject: |
|
|
Definitely, and I even already have such an image (see also: sidebar). In fact, I wonder if I could be super-tricky and make a phpBB template that's actually RSS XML for the server to fill in as if it was a page...  _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10234 Location: A galaxy far far away......
|
|
| Back to top |
|
|
KermMartian

Site Admin

Joined: 14 Mar 2005 Posts: 55764 Location: Earth, Sol, Milky Way
|
Posted: 11 Apr 2011 10:24:06 pm Post subject: |
|
|
| elfprince13 wrote: | | Kerm: w.r.t to the templating - almost certainly | Right after I posted that, I realized that the only tricky thing I'll have to do is check for $_GET['rss'] or something, and if it's isset(), then:
1) Use the RSS template
2) Omit the header and footer templates _________________
 |
|
| Back to top |
|
|
elfprince13

OVER NINE THOUSAND!

Joined: 23 May 2005 Posts: 10234 Location: A galaxy far far away......
|
Posted: 11 Apr 2011 10:29:40 pm Post subject: |
|
|
| KermMartian wrote: | | elfprince13 wrote: | | Kerm: w.r.t to the templating - almost certainly | Right after I posted that, I realized that the only tricky thing I'll have to do is check for $_GET['rss'] or something, and if it's isset(), then:
1) Use the RSS template
2) Omit the header and footer templates |
1) Make a RSS header and footer as well and toggle all 3  _________________ StickFigure Graphic Productions || VSHI: Vermont Sustainable Heating Initiative
 |
|
| Back to top |
|
|
|