Webmaster Forum


Go Back   Webmaster Forum > Blogging > Blogging Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Blogging Forum Discuss general blogging issues here - design, integration, posting, trackbacks, ETC. Also discuss blogs you like.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 06-22-2006, 02:03 PM   #1 (permalink)
v7n Mentor
 
JamieJelly's Avatar
 
Join Date: 03-09-06
Location: London UK
Posts: 2,796
iTrader: 0 / 0%
JamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest order
Latest Blogs on a non WP page

Okay, so I would like the latest blog entries summarised on my homepage, similar to how it is done over at SP.

Is there a script out there to do this for me? I'm sure it's not hard, just a bit of PHP and XML but was wondering if there was a quick fix for me
__________________
Bank charges
JamieJelly is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-22-2006, 03:19 PM   #2 (permalink)
Freakgeek
 
Julie's Avatar
 
Join Date: 02-23-04
Location: Cleveland, Ohio
Posts: 17,502
iTrader: 0 / 0%
Latest Blog:
None

Julie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster materialJulie is supreme webmaster material
Send a message via AIM to Julie Send a message via MSN to Julie Send a message via Yahoo to Julie
You mean kinda like what's set up here also on the main page? www.v7n.com

Colleen probably knows.
__________________

Julie is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-22-2006, 03:25 PM   #3 (permalink)
v7n Mentor
 
JamieJelly's Avatar
 
Join Date: 03-09-06
Location: London UK
Posts: 2,796
iTrader: 0 / 0%
JamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest order
yeah exactly that!

I'm just gonna upgrade my server to PHP 5 so I can use simpleXML and write something super quick.

I'm sure I will find out after it is a lot easier than that.
__________________
Bank charges
JamieJelly is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-22-2006, 05:07 PM   #4 (permalink)
v7n Mentor
 
JamieJelly's Avatar
 
Join Date: 03-09-06
Location: London UK
Posts: 2,796
iTrader: 0 / 0%
JamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest orderJamieJelly is a web professional of the highest order
ok anybody that may need to do this, this is how I did it. You will need PHP5 to use simpleXML.

PHP Code:
<?php

    $rssfeed 
simplexml_load_file('http://www.feedlocation.com/file.rss');
    
    
$items 5// number of entries to display
    
    
echo '<ul>';
    for(
$i=0;$i<$items;$i++)
    {
        echo 
'<li><a href="' htmlentities($rssfeed->item[$i]->link) . '">';
        echo 
$rssfeed->channel->item[$i]->title '</a><br />';
        echo 
$rssfeed->channel->item[$i]->description '</li>';
    }
    echo 
'</ul>';

?>
__________________
Bank charges
JamieJelly is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-23-2006, 03:54 AM   #5 (permalink)
Inactive
 
Join Date: 03-23-05
Posts: 35
iTrader: 0 / 0%
Latest Blog:
None

vasam is liked by many
thanks. that is cool function.
vasam is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Blogging > Blogging Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

vB 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
Page Rank 6 Blogs contextual staff Forum Lobby 5 09-11-2007 07:17 PM
By participating in blogs how does our page rank increases ins2007 Blogging Forum 5 08-23-2007 08:56 AM
What is the reason that so many Blogs are ranked 1st page of Search Engines? Michel Z. Blogging Forum 8 05-23-2006 03:22 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:27 PM.
© Copyright 2008 V7 Inc