Demo
1. Write News
2. Integrate News
Add following HTML snippet to any page of your web application:
<!-- Define style through supplied CSS. -->
<style type="text/css">
@import "http://demo.newsinjector.com/newsinjector/newscss/plain.css";
</style>
<!-- Provide RSS feed for your page. -->
<link rel="alternate" type="application/rss+xml" title="RSS"
href="http://demo.newsinjector.com/newsinjector/default.rss">
<!-- Include news block here. -->
<div id="news">
<script type="text/javascript"
src="http://demo.newsinjector.com/newsinjector/default.javascript">
</script>
</div>
Note that:
-
The URL of your HTML page must start with "http://",
not "file://".
If you try to include news into a static HTML file loaded directly from a file system, your web browser may restrict execution of JavaScript and no news will be visible. Your HTML page must be served from a web server.
- There might be other users using the demo installation at the same time. Respect others. Please understand that all entries will be removed from time to time.
This page contains news served from the demo installation.