Wordpress to Manage News
+
Monfernocool  August 20, 2010 at 8:11am
24/7 Web Geek
Post Count: 26
You get a News Management System (hereinafter 'NMS'). In this tutorial I will take you though the process of creating your NMS!

Step 1: Your Free Blog
To get your free blog, you probably pay enough for your website alone, go to http://wordpress.com and click on the big orange button that says 'Sign up now'. Go through the registration filling in everything (You can keep most of the default values!) and then validating your account. Go to your news blog and login.

Step 2: Setting up the posts
First of all just go and delete all the default posts, pages and comments (we won't need them) and then go to the new post page. In the Category section click on the Add New Category link to bring up a text box. Type in Site News and CLICK the button, then create some more post categories that you want. Now post all your existing news on your site as posts on your Wordpress blog starting with the oldest and finishing with the newest. Remember to g each news article the correct category and feel free to add any categories that you missed out.

Step 3: Simple Page with SimplePie
Go to http://simplepie.org/ and download the latest version of SimplePie. When downloaded just take the file named simplepie.inc and copy it over to your website. Now on the page that you want to put the news on put the following PHP code:

code:
<?php
    
require_once("path/to/simplepie.inc"); // Include SimplePie
    
$feed = new SimplePie(); // Call Simple Pie
    
$feed ->set_feed_url(array("http://blog.address.wordpress.com/feed")); // Set the feed url
    
$feed ->init(); // Run SimplePie
    
$feed ->handle_content_type(); // Handle the content type
 
?>

Now, in the body section, where you want the news to be, put the following code:

code:
<table width="100%">
    <?php foreach($feed->get_items() as $post) : ?>
    <?php
        $category 
$post->get_category()->get_label();    
    
?>                    
    <tr>
        <th><?php print $category ?> | <?php print $post->get_title(); ?> by <?php print $post->get_author()->get_name() ?></th>
    </tr>                    
    <tr>
              <td><?php print $post->get_content(); ?></td>
    </tr>
    <?php endforeach; ?>
</table>

Your time
Now, using this as a base you can extend it even further by using icons to represent the categories using str_replace();, filter by category etc. If you want to post a link to your news here. My version (The Original) of this is located here!

Comments Please
+
Peter  August 20, 2010 at 2:37pm
you can call if you want.
Post Count: 46
http://elegance.chanlu.org
Why don't you just sign up for Freehostia and upload Wordpress to that? You can even create layouts for Wordpress.

Alternatively, why don't you use a lighter-weight news system, such as Cute News or Fusionnews?
+
Monfernocool  August 20, 2010 at 10:29pm
24/7 Web Geek
Post Count: 26
Because with wordpress.com you can have multiple free blogs, so, say you had three websites, you just create a news blog for them and away you go. Also it uses hardly any bandwidth to use because the data is taken from the wordpress.com server.
+
Nickdev  August 21, 2010 at 6:17am
Use the stabilizers!
Post Count: 796
In my opinion, if I were still running PokéNova, I’d be using Tumblr as a news system.

Firstly, it means I don’t have to code it, meaning that I can spend that development time on much cooler features or content. Next, the security is much better - I don’t have to keep checking to see if there is an important security update required for Cutenews or Fusion News, because any updates are apparent immediately, and free content management systems are notorious for massive security holes. Finally, if you’re worried about bandwidth, using an external server will save that bandwidth.
They're boring-ers! They're blue... boring-ers!
+
AdrianMalacodacool  August 21, 2010 at 4:42pm
BELLOSSOM
Post Count: 73
IMHO for anything above a basic website it's best to store as much of it locally (that is, not on external domains). The externally hosted services will eventually impose arbitrary limitations that you'll find you can't get out of. With locally hosted services, you can tweak it to do what you want.

"Free software is a matter of the users' freedom to run, copy, distribute, study, change and improve the software." - The GNU Project

ADRIAN MALACODA'S WEBSITES
The Morass (personal site) | Glitch City Laboratories (Pokemon glitches website) | Operation Time Capsule (old Cartoon Network videos)

ADRIAN MALACODA USES
GNU/Linux (Trisquel to be specific)| Chromium (Chrome without the Google) | Firefox | PHP | Python | jQuery | Scroogle (It's like Google without the Google)

ADRIAN MALACODA SUPPORTS
Free Software Foundation (as a donating member) | Electronic Frontier Foundation (as a donating member) | American Civil Liberties Union (as a donating member and Guardian of Liberty)
Most of the people that run a very basic website don't even need a script to manage it for them, much less over-complicating it in such a manner.
Respond
<a class="c-bigbutton" onclick="addTags('[b]','[/b]','textmsg', 0); return false;" style='font-weight: bold;'><div class="c-rbtl c-rbbl">Bold</div></a><!-- // --><a class="c-bigbutton" onclick="addTags('[i]','[/i]','textmsg', 0); return false;" style='font-style: italic;'><div class="c-nbl">Italic</div></a><!-- // --><a class="c-bigbutton" onclick="addTags('[u]','[/u]','textmsg', 0); return false;" style="text-decoration: underline !important;"><div class="c-nbl">Underline</div></a><!-- // --><a class="c-bigbutton" onclick="addText('[img]txt[/img]','textmsg',1,'Enter your image URL'); return false;"><div class="c-nbl">Image</div></a><!-- // --><a class="c-bigbutton" onclick="addText('[url=txt]Link[/url]','textmsg',1,'Enter your desired link'); return false;"><div class="c-nbl">URL</div></a><!-- // --><a class="c-bigbutton" onclick="addText('[list]txt[/list]','textmsg',2,'Type your list items and click cancel when you are finished.','[*]',''); return false;"><div class="c-nbl">List</div></a><!-- // --><a class="c-bigbutton" onclick="addTags('[color=txt]','[/color]','textmsg',1,'Enter a color (ie: pink, purple, blue, orange, yellow)'); return false;"><div class="c-nbl">Color</div></a><!-- // --><a class="c-bigbutton" onclick="addTags('[size=txt]','[/size]','textmsg',1,'Enter a font size - ranged 1-7'); return false;"><div class="c-nbl c-rbtr c-rbbr">Font Size</div></a><br /><br />