(0) Home Mini-Sharing
Now Mobile!
Mini-News.com allows using its content by external websites.
You have permission* to place it on your site for FREE!

The aim of Mini Sharing is far from ambition to set the Mini-News.com a dominating news service on the market :) . Although it can simply provide your homepage with a free filler content to put between your ads, there is the better usage, - to allow viewing this website in any FORMAT you want!

The Mini-News concept implies that each conventional webpage can additionally have several versions of its main content. Each version is located in a separate file.
Mini-News Name Convention recommends the following types of extension for the files:

.mini - main content (required)
.mini.js - JavaScript version of main content

.digest - short summary
.demo - excerpt from main content
See Demo

How join the Mini Sharing initiative? Develop your content in Mini-News Format!
To tell visitors that your webpage is Mini-News compatible, include a link to your .mini file with the following Mini-News logo: .mini version for free syndication

Your users will be able to use several ways of embedding:
1. PHP (for .mini)
The function file_get_contents (for PHP5+) is the best way for inserting content from external websites. The popular php function include should NOT be used (because of its poor security).

In the simplest case, there can be the following files:

format.begin
<html><body>

content.mini
<p>Some content ...</p>
<p>Some content ...</p>

format.end
</body></html>


To run them from your website, create the following webpage:

<?php echo file_get_contents("http://.../format.begin"); ?>
<?php echo file_get_contents("http://.../content.mini"); ?>
<?php echo file_get_contents("http://.../format.end"); ?>

2. JavaScript (for .mini.js)
To be inserted on your page between <script> and </script> tags.
Uses &quot; instead of double quotes. No line breaks.

To create JavaScript version of your .mini file, open it in any text or html editor, and make the following steps:

Now save the resulting file with .mini.js extension.

To run it from your webpage, use the code like this:
<script src="http://.../file.mini.js" type="text/javascript"></script>

Obviously, your browser must be JavaScript-enabled.
Reinventing File Syndication
Ultimately, there can be third-party applications for integrating many Mini-News files on one webpage. For example, you can view somebody's main content not just with your own stylesheet, but also with your own HTML formatting. Just insert corresponding .mini file into (X)HTML code of your choice.

Here is an Experimental Testing Service:
http://test.mini-news.com

* - subject to Mini-News Terms
 
Related Article:
"Take Me Now!"
 
(0) Home
Copyright(C) Beloy. Mini-News: Ads-FREE Web!