PDA

View Full Version : Rss Feed Question for new site


kdemonte
10-16-2009, 01:10 PM
Hey Greg, long time no talk :) I'm working on a new site for a client and trying something new to me. It is getting confused in my head, so I hoped you could tell me if this is possible;

I need a wordpress site that will be an internal install for a members area, meaning behind htaccess password to get in. On the home page I want to use a basic php page that will mimic the look of the wordpress page. That part I'm fine on.

Here's my confusion:The client wants to be able to "tease" on the home page titles of recent posts in the members/wordpress area. I planned to use Carp to grab the feeds but I'm confused on how I could make the links on the home page/feed teasers go to a sales page and NOT the actually members area?

Any ideas?

Greg
10-16-2009, 01:46 PM
To use carp, you might need to use the javascript. A quick test of php outputs too much stuff to parse out the descriptions.

I wouldn't use carp, I'd make a query call to the WP DB for titles and insert the appropriate links.

kdemonte
10-16-2009, 02:07 PM
Will it still work for pulling the feeds if they're behind htaccess? or will it act like a wall and not let it out. (remember I'm no-coder LOL)

Greg
10-16-2009, 02:16 PM
Oh yeah, I forgot the htaccess part. Carp won't work at all I don't think. You're going to have to use a query IMO. If you pass the credentials in the url it could be compromised.

kdemonte
10-16-2009, 02:45 PM
Ok, I'll figure out the query thing :) Lastly, if I get the feeds on the home page, people click on the feeds (which are behind password) wouldn't it automatically take them to a page saying "You have to login"? Which I could then make into a sales /buy now page? Just trying to think this all out straight in my head. I've been lucky to not have to do htaccess in quite long time.

Greg
10-16-2009, 02:54 PM
Yes, if you link to a page behind htaccess, you get stuck.

kdemonte
10-16-2009, 03:03 PM
Wow, so my head may actually thinking somewhat straight! There's something new! :) Thanks so much as always Greg!

Greg
10-16-2009, 03:26 PM
Glad to help, if I have. :p

kdemonte
10-16-2009, 03:28 PM
Time will tell....