Pagenews website
Home
Features
Download
System requirements
Websites using it
How to install
Screenshots
Documentation
FAQ
Demo installation
Links
Contact



Pagenews website
Copyright (C) 2004,2005,2006
by Philipp Kindt



Erdstrahlen Freie Webseite!



The Pagenews documentation - index - back
How to integrate the script into your website

Content
Link to Pagenews
HTTP forward
use Create-on-the-fly
Use frames


You've installed Pagenews succesfully and want to integrate it into your website now?
There are many ways to do that.

Link to Pagenews
The most easy way is to build a link into a html page:
<a href = "cgi-bin/cgi-bin/news.cgi">show news</a>

Forward
If you wish to show Pagenews as the first thing your users see,
you can create an index.html that forwards to the Pagenews script.
Of course, any other HTML document can forward to it.

There are lots of different ways of realizing that - forwarding HTML file might look like this (example):
(needs javascript)

File index.html
<html>
<body>
<script language = "Javascript">
location.replace("cgi-bin/news.cgi");
<a href = "cgi-bin/news.cgi">click here if you are not redirected</a>
</script>
</body>
</html>
As index.html is loaded first by most of the webservers, you
can save the code abouve as index.html to make Pagenews the first thing
your visitors get to see.

Use the create-on-the-fly index.html
If you use create on the fly (automatic building of static HTML files instead of calling news.cgi),
you can just use the autmatic index.html for your website!


Use Frames
You can use frames to include news.cgi. An example (with ifrmames) is:
File index.html
<html>
<body>
<iframe src = "cgi-bin/news.cgi" width = "150" height = "150">
</iframe>
</body>
</html>

The Pagenews documentation - index - back





-> admin log-in

Powered by Pagenews DN 6.1.2 by Philipp Kindt