Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Adding a 'top 3 latest news' section using javascript?

    Hi there,

    I'd like to build an HTML/javascript/Ajax site which will be quite basic. menu at top, content in middle etc.

    I am trying to find out how I can integrate a news section. Basically, I want to add monthly just one project our company has worked on. This would include 1 picture and a very small amount of text about it.

    Then on the homepage, i'd like to just have a smaller version of that news, only including the latest 3 items. Or even better, the user can use a -> to view older news without changing the page.

    How easy to do that / or are there some scripts you can point me to ? I am a 'newbie' to javascript etc as I work only with Flash, Php and Mysql ! Any help or advise what i should be searching for is greatly appreciated.

    On one note, I don't want to install an entire CMS for the whole website! As i tried that once, drove me mad!

  • #2
    New to the CF scene
    Join Date
    Jun 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You could install a quick wordpress blog easily in a sub directory and use it for the news section only. Then use a feed script to display your 3 latest news articles.

    Usually, your hosting would offer the instant automated wordpress install and then you just login, write your news posts, and add the feed script. You can use the javascript option of the Feedcommander for that: http://www.feedcommander.com/category/free/

    If you installed the wordpress in a folder named blog, your feed would be:
    http://www.yourdomain.com/blog/rss/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •