homepage Welcome to WebmasterWorld Guest from 54.226.80.196
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
How to get latest post on homepage
Matt_M_T




msg:3735294
 3:27 am on Aug 31, 2008 (gmt 0)

Hi everyone,
Ive recently managed a few pages (html) of my proposed site using Dreamweaver CS3. Its a sports site with around 10 posts put up every week about recent events, matches etc. So ideally I'd like to have the newest posts appearing on the home page (simply appearing one below the other). All the content will be written by me. Basically I'd want returning visitors to see the latest posts (3-4 posts) on the home page. I already have a blogger blog but am trying to make 'the move' for several reasons.
I have no idea as to how to go about ensuring that the homepage always displays the newest posts. Can someone please help.
Thank you,
Matt

 

Marshall




msg:3735310
 4:49 am on Aug 31, 2008 (gmt 0)

Hi Matt and welcome to WebmasterWorld.

You could use an iframe to insert the content or an include. IMHO those two options would be the easiest without knowing more about how your posts are generated.

There is another option and that is an RSS feed, but I would suggest that in addition to anything else.

Marshall

Marcia




msg:3735316
 5:03 am on Aug 31, 2008 (gmt 0)

>>without knowing more about how your posts are generated

And where and with what the posts are done, and also whether and where archived posts will reside on the site. That all takes a dynamic solution, which Dreamweaver doesn't do. That needs some sort of server side technology, one way or another (which isn't DW).

It might be worth checking into magazine style Wordpress (or other CMS) themes that are customizable, and do accomplish that - including embedding news feeds, videos, galleries and ads. Then DW could just be used for regular static pages and incorporated into the navigation.

[edited by: Marcia at 5:07 am (utc) on Aug. 31, 2008]

Matt_M_T




msg:3735365
 9:45 am on Aug 31, 2008 (gmt 0)

Hi
Firstly thanks for the reply.
It's a soccer site with me writing the content for each post (basically reviews of each game, latest happenings). There will be a spry menu on the LHS. All posts will be linked to in a static way from this menu. So, whenever I write a new post what I'd like is for it to appear on the home page. Is there a fairly simple way to accomplish this, as I'm totally new to web design and have been using blogger until now.
Thanks again.

Matt

rocknbil




msg:3735489
 4:46 pm on Aug 31, 2008 (gmt 0)

It might be helpful to let us know what software makes "the posts" and investigate the help files for that software. For example, if it's a vBulletin post, there is ample documentation on how to do this in a variety of ways in their help files - a PHP script, SSI, or RSS feed.

For a shortcut solution, create the post, navigate to it, and copy the location in the address bar. Edit your main page to include the link. This is a manual method and would be a pain, especially if you have other contributors and always want the latest post to display.

vincevincevince




msg:3735492
 4:50 pm on Aug 31, 2008 (gmt 0)

Sounds like you are creating a blog, but doing it all manually. Almost everyone (probably everyone apart from you and Brett in his robots.txt blog) uses installed software to manage the blog. Probably PHP, Perl or ASP driven. I suggest you try out some of the popular software packages; wordpress is very common now - but you absolutely must keep it updated.

Matt_M_T




msg:3735507
 5:35 pm on Aug 31, 2008 (gmt 0)

Hey thanks.
Ive been making each post as separate html files. Will check out Wordpress - that sounds encouraging - was going crazy because I had no clue about what to do about the posts coming on the home page. Thanks once again.
Matt

Marcia




msg:3735798
 6:59 am on Sep 1, 2008 (gmt 0)

Incidentally, you can use Blogger on a domain using FTP, and still have static pages done with DW also.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved