RSS feed for search keywords?

micks80

Joined: 2012-04-22
Posts: 71
Posted: Tue, 2012-05-15 04:28

Hi,
Does anyone know how to get rss feed for search keywords? This is really a very imp. feature and hope someone has a solution. We are even ready to pay for it.

We really need it because we are using gallery with wordpress and we want to display the gallery pics under the wordpress tag. Example when someone searches for "brad pitt", it displays all the wordpress posts which has that tag keyword but we want to pull the gallery pics and show that as well...

The closet we can get is the rss feed for albums but that means we need to inject in advance all the album id's which is not possible as wordpress keeps adding new tags as new posts are published.

Also let us know if there are other alternatives.

Thanks
Mick

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-15 13:40

Why not query gallery as you query the wordpress posts.

How is this a RSS feed? What if nobody in the passed searched for 'brad pit' yet you still have images of him. Do you return results? I would not think so because nobody has searched for that term in the passed.
I don't understand how this would work.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
micks80

Joined: 2012-04-22
Posts: 71
Posted: Tue, 2012-05-15 15:25
Quote:
Why not query gallery as you query the wordpress posts.

Is there an example that shows how to do that? Is it easy enough to query Gallery from within wordpress? I do know there's a wordpress plugin available but it does much more then what we need which is to just search and display pics for that particular tag.

Thanks,
Mick

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Tue, 2012-05-15 16:15

There's not an RSS feed for the search (that I know of), but if you set up the Gallery system to match the way you set up the Wordpress system, you could use tags.

The link structure for the tag RSS feed:
feed://gallery.url/index.php/rss/feed/tag/tag/#

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-15 16:49

I still don't know how a RSS feed fits into search.
Does the feed get updated with the results of people queries?
I think the tags is the way to go here.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2012-05-15 18:12

I'm guessing they want an RSS feed on a query-able tag(s)?

IE: return an rss feed of items where tag = 'whatever' (and where tag = 'whatever2') etc...

* I've done something like this for an RSS feed of landscaped images for use with Google Screen Saver - let's the screen saver cycle through images where width>height in my gallery. :)

 
micks80

Joined: 2012-04-22
Posts: 71
Posted: Tue, 2012-05-15 19:02
floridave wrote:
I still don't know how a RSS feed fits into search.
Does the feed get updated with the results of people queries?

Jnash kind of summarized it above but I will add more details to make it more clearer...

Wordpress is king of SEO and create tags which are loved by Google and users land on these tag pages e.g. mysite.com/tags/bradpitt. We want these tag pages to act as aggregators that would fetch information from all sources (wordpress,gallery3, wallpaper script, CMS etc) and display them under the tag page making it transparent to the user that the information was fetched from multiple sources.

The easiest way to do it is via RSS feeds. which gets the feeds from all sources and display results under relevant sections. This is a feature that's provided by most scripts but we are not able to find it for Gallery3 and that's why this post :)

The same concept can be applied to other sections as well e.g. movies, celebrities etc. Cross linking content is a very important area and helps in number of ways e.g. increases users time spent on site, overall site's functionality etc.

Regards,
Mick

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2012-05-15 19:25

OK I'm "starting" to understand.
You take this RSS feed and plug in under a WP post with specific key words?
There is some RSS feeds for specific groups:
http://codex.gallery2.org/Gallery3:Modules:rss_extra
I bet it could be expanded to do something like:
rss_extra/tag/brad_pit

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
micks80

Joined: 2012-04-22
Posts: 71
Posted: Wed, 2012-05-16 05:00
tempg wrote:
There's not an RSS feed for the search (that I know of), but if you set up the Gallery system to match the way you set up the Wordpress system, you could use tags.

The link structure for the tag RSS feed:
feed://gallery.url/index.php/rss/feed/tag/tag/#

This kind of solves the issue but the only pain is that it expects the tag id instead of the actual tag name i.e. rss/feed/tag/tag/#.
Any idea what's the easiest way to convert names to the tags ids dynamically?

Thanks,
Mick

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Wed, 2012-05-23 22:30
micks80 wrote:
Any idea what's the easiest way to convert names to the tags ids dynamically?

Starting point?: http://gallery.menalto.com/node/102138

 
micks80

Joined: 2012-04-22
Posts: 71
Posted: Tue, 2013-03-12 03:39

We have opened a paid job request here -> http://galleryproject.org/node/111113
Would really appreciate if someone can help write such a module.

Thanks,
Mick

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Fri, 2013-03-15 14:17

I haven't had time to really look at this, but report back if it isn't resolved in the next 1 1/2 weeks or so.