Start |  Archive |  Services |  About Us |  Contact

Search News

Webmaster resource

We got many requests for a service where we provided relevant news for your webpages, so here you go - an easy to use, and yet advanced - feature which allows for webmasters to easily incorporate PDAFreak / HarWester Network news on your pages!

 

Example one

Code

<style>
<!--
/* css for the entire table */
.tblCSS { font-family: verdana; font-size: 10px; background-color: #E9E9E9; }
.hdCSS { } /* header of the table */
.a1CSS { } /* header link */
.a2CSS { text-decoration: none; } /* article link */
.rw1CSS { background-color: #F3F3F3; } /* css for even rows */
.rw2CSS { background-color: #E9E9E9; } /* css for odd rows */
-->
</style>
<script
type="text/javascript"
src="http://www.pdafreak.com/js.php">
</script>

 

Explanation

This example is very useful if you wish for a simple way to easily modify your box using CSS. It's simply to cut and paste the source code to your own site.

 

Example two

Code

<style>
<!--
/* css for the entire table */
.tblCSS { font-family: verdana; font-size: 10px; background-color: #E9E9E9; }
.hdCSS { } /* header of the table */
.a1CSS { } /* header link */
.a2CSS { text-decoration: none; } /* article link */
.rw1CSS { background-color: #F3F3F3; } /* css for even rows */
.rw2CSS { background-color: #E9E9E9; } /* css for odd rows */
-->
</style>
<script
type="text/javascript"
src="http://www.pdafreak.com/js.php?date=1">
</script>

 

Explanation

This example is great if you want to show the entire date..

 

Example three

Code

Read more on PDAFreak
<script type="text/javascript" src="http://www.pdafreak.com/js.php?js=1"></script>
<script type="text/javascript">
for (i = 0; i<5; i++)
{
document.write(t[i] + ' <a target="_blank" href="' + l[i] + '">' + a[i] + '</a><br/>');
}
</script>
<a alt="Read more news..." href="http://www.pdafreak.com/">Read more on PDAFreak</a>

 

Explanation

If you desire more advanced effects, we also provide this solution for more advanced webmasters. Use your skills with javascript to create the look and feel matching your page. The data the scripts returns is three arrays, each containing a specific data:

  • t[0..4] Time
  • l[0..4] URL to article
  • a[0..4] Article headline
  • d[0..4] Date
  • p[0..4] Paper name

 

Important information

Do not forget that we require a real <a> "anchor"-link back to us if you do use this service. If you have such a link on your mainpage please contact us for added benefits!

All information on this page is provided as-is, and without any obligation from HarWester network or PDAFreak. We do however encourage usage and freely give away the rights to use and modify these codesnippets.

If you have any questions regarding this information, implementation, uses or ideas on how to improve it - dont hesitate to contact us!

Taking the PDA news to you - regardless of where you are.

PDAFreak is a member of the HarWester Network.