Home | Downloads | Software Mart | About RSS | RSS Maker | About AJAX | Support

Documentation

WebPen
EditOnline
ContactUS
WebLines
MagicBlog

WebPen

EditOnline

CONTACTUS

WebLines

Requirements:

PHP 4 or higher.

Installation:

Unzip the downloaded file. Upload weblines.php (or trialweblines.php) to the same directory on your server as the page that will display the newsfeed. Change the extension of the web page where the news will appear to " .php " if it isn't already. Don't worry, this will not affect how the page displays, but you may need to change the hyperlinks that link to it. Add the following line of code to the page in the location in the HTML code where you want the newsfeed to display:

<?php include "weblines.php"; ?>

Note: By default, WebLines is set to display the RSS channel name and information, The item title, and the item description. It is configured to display all items in the RSS feed. It is likely that you will want to change some of these settings. This is very easy to do: Just open weblines.php using Notepad or another plain text editor. Look for instructions at the top of the page for how to change the settings. After you make the desired changes, save as type "All Files" as weblines.php then upload to your server. You will probably also want to customize the appearance of the RSS feed to match the appearance of your web page. Do this by creating CSS styles either in the same document or a separate stylesheet with the following names:

.channelname
.channeldescription
.itemtitle
.itemdescription

To give you an example, the following style sheet and code is used to produce the news feed display on the home page of this website, including the nifty SCROLLBAR:

These styles go in between the <head></head> tags or in a separate stylesheet.

<style type="text/css">
<!--
.itemtitle {
font-size: x-small;
font-family:Verdana, Arial, Helvetica, sans-serif;
padding-left:6px;
padding-right:7px;
padding-top:5px;
padding-bottom:7px;
}
.itemtitle a:link {
color:#0000FF;
}
.itemtitle a:hover {
color: #FF0000;
}
.itemtitle a:visited {
color:#0000FF;
}
.itemdescription {
font-size: x-small;
}
-->
</style>

This is the page code.

<div align="right" style=" position:relative; left: 15px; overflow:auto; width:150px; height:280px; border:thin; border-color:#0000FF; border-style:ridge; background-color: #FFFF00; background-image:none; float:right; scrollbar-base-color: #0000FF; scrollbar-arrow-color: #FFF000; scrollbar-track-color: #FFF000" />
<?php
include "weblines/weblines.php";
?>
</div>

A SCROLLING DISPLAY can also be used. To make the newsfeed display scroll, you would encase it in marquee tags like this:

<marquee height="220" width="225" onmouseover="this.stop()" onmouseout="this.start()" direction="up" scrollamount="2">
<?php
include "weblines/weblines.php";
?>
</marquee>

Be aware that some browsers do not support the <marquee> tag. In these browsers the display will be static.

Magic Blog

Privacy Policy: Our Commitment To Privacy Your privacy is important to us. To better protect your privacy we provide this notice explaining our online information practices and the choices you can make about the way your information is collected and used. To make this notice easy to find, we make it available on our homepage and at every point where personally identifiable information may be requested. We do not collect any customer information. Please see our payment processor's Privacy Policy concerning collected information.

Home | Downloads | Software Mart | About RSS | RSS Maker | About AJAX | Support