Newsletter

Login Form



Donate

 

Es kostet Zeit, Geld und Know-how, diese Plugins zu entwickeln und kostenlos zur Verfügung zu stellen. Wenn Sie meine Arbeit nützlich finden, ziehen Sie bitte in Betracht, mich mit einer kleinen Spende zu unterstützen.

It takes time, money and know-how to develop and offer this stuff for free. If you find my work useful, consider please to support it with a small donation.

Home Support Forum
Welcome, Guest
Please Login or Register.    Lost Password?

Pass variable to feed
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Pass variable to feed
#290
Pass variable to feed 1 Year, 10 Months ago  
I have a set of job feeds i wish to use to set up a free job search site for the unemployed in our area. Is there a way to pass a variable to the feed by way of an option drop down.

EXAMPLE: I have a generic RSS feed for ALL Jobs in the Wooster Ohio area, I would like to pass the a variable such as "Nurse" to the feed to limit the results to Nurse jobs in the Wooster Ohio.

I have 60 job categories and rather than post 60 modules or load 60 feeds into a module it would be nice to just select what job category or even change the location.
thedragonman
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#292
Re: Pass variable to feed 1 Year, 10 Months ago  
Why do you want to execute the search on the feeds?
Even if it was possible it would considerably slow down the module's performance.

I suggest you group/preselect the feeds themselves in RSS modules.
Using some fancy javascript you could display only the RSS modules matching the user selection.
admin
Moderator
Posts: 112
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#293
Re: Pass variable to feed 1 Year, 10 Months ago  
Greetings,
I actually have rethought this and am looking for a way to make the feed selectable by the user.

I have 180 feed strings ready that search jobs in our area based on industry. I was able to modify the xml code of the module itself to provide me a drop list by which to set the feed from the back end.

Here is what I did, I took this section of code from the module:
Code:

<param name="rssurl" type="textarea" cols="50" rows="5" default="" label="RSS URLs" description="Enter the URLs of the RSS/RDF feed (delimited by line feed)" />


and replaced it with this code: (only 2 options for testing)
Code:

<param name="rssurl" type="list" default="" label="RSS Options" description="">
       <option value="http://pipes.yahoo.com/pipes/pipe.run?_id=1bea7cf39f71aa56348c02dc4b34a002&amp;_render=rss&amp;edtKeywords=Accounting&amp;edtLocation=Akron%2C+oh&amp;edtRadius=15">Accounting</option>
         <option value="http://pipes.yahoo.com/pipes/pipe.run?_id=1bea7cf39f71aa56348c02dc4b34a002&amp;_render=rss&amp;edtKeywords=Admin+-+Clerical&amp;edtLocation=Akron%2C+oh&amp;edtRadius=15">Admin - Clerical</option>
        </param>



This allows me to choose the feed from the back but I still need over 100 copies of the module. I would like a way to choose the feed the module uses from the user side by drop list.

I think If I could present the user with a drop list that sets the rssurl parameter then loads the page with the module on it I could reduce the slowdown.

We have such an unemployment problem in this area and a lot of those seeking work are not the most web savy so I am trying to offer this as an easy to use option without overloading my site with copies of the same module.
thedragonman
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

© 2012 by lbm-services.de - All rights reserved.

Valid XHTML 1.0 Transitional