Go Back   NiceCoder Community Forums > Nicecoder Products > IndexU > Blocks and Modification
Register Projects FAQ Members List Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-09-2008, 08:39 AM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default Wordpress integration mod - show complete most recent post

on index page. Anyone figure out how to do this?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 02-09-2008, 12:22 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

You don't really want to show the complete post because of length. Usually you just want to add a blurb to get users to click on the article so they can read the rest.

I assume you're using the wordpress RSS feed to display the latest post on the home page? If so then you're probably looking at modifying wp-rss.php to display the full article. Remember though that anyone else linking to your feed would receive the full post as well and they may not appreciate it.
Reply With Quote
  #3 (permalink)  
Old 02-09-2008, 12:31 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

I'm using the method found here:

http://www.indexudirectory.com/blog/...our-directory/

and yes, I really do want to include the complete post. I've taken out alot of other stuff to customize this to my viewers and including the most recent post on my index page is something I really feel like would greatly increase traffic to my site.
Reply With Quote
  #4 (permalink)  
Old 02-09-2008, 01:00 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

Then as I said earlier take a look at wp-rss.php
Reply With Quote
  #5 (permalink)  
Old 02-09-2008, 01:33 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

I am not using the rss feed. I am using the mod I linked to above.
Reply With Quote
  #6 (permalink)  
Old 02-09-2008, 02:02 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

I know you're using that mod, but how else do you expect to pull the post out of wordpress and place it onto a different page?

Modify wp-rss.php
Reply With Quote
  #7 (permalink)  
Old 02-09-2008, 02:10 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

I don't know. I don't see an option to put anything on the front page except titles. When I put in the block call for recent posts, all I get is a title. I don't understand how modifying my wp-rss is going to change that. If it will, I don't understand what to change to make it show the post. I am not an idiot, though you make me feel like one. Most help forums speak a little bit more in layman's terms than this one seems to so please bear with me.
Reply With Quote
  #8 (permalink)  
Old 02-09-2008, 04:41 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

Considering this is a wordpress issue and nothing to do with IndexU, you need to modify wp-rss.php to show the complete post and not just a snippet.

The wordpress mod has nothing to do with what you're wanting. You need to add a new block and call the feed from your wordpress. That's the only way you get articles out of wordpress easily.

The functions that this mod gives only give the titles.

Create a new block with your wordpress feed and put it in your index like this

<%block_rss_feed url="yoururlfeed.com/path/to/wordpress/rss/feed" title="Name your feed here" template="block.rss_feed.html" max_item="3" cache_time="86400"%>

Set the cache time, set the number of items you want to display and then modify wp-rss.php to show the complete article rather than just a snippet.

For further support for WordPress please visit http://wordpress.org
Reply With Quote
  #9 (permalink)  
Old 02-09-2008, 10:28 PM
Registered User
 
Join Date: Jan 2008
Posts: 46
twomiracles is on a distinguished road
Default

Actually, it wasn't a Wordpress issue at all, I didn't have to touch the wp-rss.php file. Zubby helped me modify his mod. Your block code there is part of what he had me use, though. He had me just change some of his original code to something like that and had me make a change to the rss block in IndexU and it worked like a charm. You can see it here if you'd like.

http://www.digiscrapdirectory.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
help installing wordpress mainman Website Development 8 10-03-2007 11:03 AM
Check this recent post on Matt Cutts blog spin Customers Lounge 0 05-15-2007 12:44 PM
wordpress integration toppocket Blocks and Modification 3 08-06-2006 08:59 PM
2.0 -> Recent version ?? Nardus Pre-Sales Questions 1 04-13-2006 06:11 AM
integrate wordpress posts in indexu landuyt v5.x 2 11-26-2005 12:11 AM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 02:32 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate