| User | Post |
|
11:26 am June 13, 2009
| dutchman
| | |
| Member | posts 3 | |
|
|
Is is possible to modify the single post php so that when the post title is clicked(on a single post page) the reader will be taken to the post source? This is for posts I pick up on rss feeds.
thanks,
JV
|
|
|
7:25 am June 14, 2009
| Ryan
| | |
| Admin
| posts 1547 | |
|
|
What plugin are you using to pull in the RSS feeds? You want to link users to the source of the feed correct?
|
|
|
9:20 am June 14, 2009
| dutchman
| | |
| Member | posts 3 | |
|
|
Ryan,
I'm using FeedWordpress along with a Yahoo Pipes feed. I'd like the reader to get to the original post. The Yahoo aggregator gives only partial posts plus I want to give credit to source.
The first site built is NintendoWiiReview.com and I'd love to convert it to the way your Nintendo demo page looks. But with out source accreditation all 4000+ feed posts will appear "scraped". The singlepost.php on this site was modified for accreditation with a couple of code changes. But your coding is different. If your interested I can post that info.
BTW I'm very impressed with your products. The ReviewAZON plugin is just what I'm looking for & your Flexability theme is one of the best themes I've found. I can see you spent many hours on them.
thanks for your time,
John
|
|
|
6:03 am June 15, 2009
| Ryan
| | |
| Admin
| posts 1547 | |
|
|
All you're needing to do (I think) is to integrate a few lines from the FeedWordPress API into your single.php page. Do you want the title to link to the source, or do you just want a separate line below the post to list the source of the feed?
|
|
|
7:40 pm June 15, 2009
| dutchman
| | |
| Member | posts 3 | |
|
|
I'd prefer to have the title link to source.
Replaced the following line of code: <?php get_header();?> with this code: <?php get_header();$post_guid = get_post(the_ID()); $guid = $post_guid->guid; if($guid=="") { $guid = get_permalink(); }?>
replaced get_permalink() ?>” rel=”bookmark” with this code: print $guid; ?>" rel="nofollow"
This is what worked on my other blogs.
thanks,
John
|
|
|
12:39 pm June 16, 2009
| Ryan
| | |
| Admin
| posts 1547 | |
|
|
Why not use the_syndication_permalink()from the API? I'm not sure that would solve your problem, but if you have the API to use, it would simplify your code.
|
|