| 31 Mar 2011 05:28:32 pm by swivelgames |
RSS feed for Searches |
Quote |
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? |
| 31 Mar 2011 05:40:34 pm by comicIDIOT |
|
Quote |
| Given the usefulness of the search box, I don't think I'd benefit. I like the idea of a Weeks Post Feed, though. |
| 31 Mar 2011 06:16:46 pm by elfprince13 |
|
Quote |
| I think it's a nifty idea. We should pester him to implement this along with the personal posts/time graph generator. |
| 31 Mar 2011 06:37:11 pm by comicIDIOT |
|
Quote |
| elfprince13 wrote: |
| We should pester him to implement ... personal posts/time graph generator. |
Seconded! |
| 31 Mar 2011 09:42:53 pm by KermMartian |
|
Quote |
| 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. |
| 01 Apr 2011 01:42:13 am by elfprince13 |
|
Quote |
| 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. |
| 01 Apr 2011 11:43:22 am by KermMartian |
|
Quote |
| 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. |
| 01 Apr 2011 02:13:32 pm by elfprince13 |
|
Quote |
| Fair enough. Couldn't you time-limit it in the same way you do searches now? |
| 01 Apr 2011 02:14:51 pm by KermMartian |
|
Quote |
| 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? |
| 01 Apr 2011 02:32:40 pm by TheStorm |
|
Quote |
| 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. |
| 01 Apr 2011 03:33:45 pm by KermMartian |
|
Quote |
| 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? |
| 01 Apr 2011 05:25:33 pm by _player1537 |
|
Quote |
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  |
| 01 Apr 2011 05:26:23 pm by KermMartian |
|
Quote |
| _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. |
| 01 Apr 2011 08:14:11 pm by elfprince13 |
|
Quote |
| The usual search arguments passed to $_GET rather than $_POST, and a flag to generate RSS rather than html? |
| 01 Apr 2011 10:14:53 pm by KermMartian |
|
Quote |
| 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.  |
| 11 Apr 2011 03:04:36 am by swivelgames |
|
Quote |
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  |
| 11 Apr 2011 09:59:24 pm by KermMartian |
|
Quote |
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...  |
| 11 Apr 2011 10:20:55 pm by elfprince13 |
|
Quote |
| Kerm: w.r.t to the templating - almost certainly |
| 11 Apr 2011 10:24:06 pm by KermMartian |
|
Quote |
| 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 |
| 11 Apr 2011 10:29:40 pm by elfprince13 |
|
Quote |
| 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  |