See also |
Tutorial
How to use
WordPress powered blog for news section on your web-site
This page provides quick guide for using WordPress powered blog and Post2Blog software for news section. Using this tutorial you will learn how to update news section on your web-site without changing HTML files. All you will need to add news is to launch Post2Blog, type news and click button to publish news. 4 ingredients to create news section:
Skip this step if you have WordPress (another blog engine) already installed on your web-site Download WordPress code from WordPress download page and copy it into the /blog/ sub-folder on your web-site Install WordPress blog following Famous 5-Minute Install instructions. Connecting Post2Blog to the news blog Download and install trial version of Post2Blog desktop blogging client: http://bytescout.com/files/Post2Blog.exe Run Post2Blog Go to File menu in Post2Blog and select Account | New
New Account Wizard will appear. Select WordPress blog type and click Next:
Enter link to folder with WordPress blog on your web-site. For example: http://YourSiteName.com/blog/ and click Next
Next pages will ask you for different options - don't change default options and click Next until you get Finish page and click Finish on the Finish page to close wizard. New account for your news blog will be added to the list of accounts and will be selected by default. Type news you want to post:
and click Post And Publish to add news to the news blog and they will appear in the blog:
Displaying news from bews blog on the main page Download free RSS2HTML script for PHP from this page Unpack ZIP file with script and modify sample-template.html to the following code: <H1>~~~FeedTitle~~~</H1> Upload modified sample-template.php and rss2html.php script to the main folder of your web-site. Now we need to modify main page of your web-site. If you have .html
or .htm file then just simply change its
extension to .php Open index.php and insert this code snippet to the place where you want to display news: <?php include("rss2html.php?XMLFILE=http://www.MySiteName.com/blog/?feed=rss2") ?> Link highlighted with green color is the link to the RSS feed of your news blog. Usually this links is http://www.MySiteName.com/blog/?feed=rss2 if you have installed blog into /blog/ sub-folder Now save index.php and upload it. Now you can see news items from your blog displayed on the main page of you web-site like you can see on our web-site:
Now you can add, manage, edit news in news section on your web-site directly from desktop using Post2Blog blogging client. All news you add into the blog will be automatically displayed on the main page of your web-site.
|
|
|
||