Contents

NewsZ extension - Examples of syntax

In these examples, result table contains latest articles from category "Programming" and also articles from first level of sub-categories inside Category:Programming, ordened by date. Base syntax:

{{#newsz:My_news_category|begin from|news counter|cols or chars| class="" style="" ...}}

Table with page titles and thumbnails

Latest in Programming (source):
 
{{#newsz:Programming|0|6|3| class="T_aqua" style="font-size:12px; width:100%;"}}

Return a table with 6 elements (3 x 2 cells), with thumbnail (first image in article, or default Logo-<category>.png), page title, date, and custom style.

Latest in Programming (result):
Logo-Shell scripts.png

A bash script to recover wifi connection that often dissociates, loses the gateway, and other problems. Works with multiple ssid, also

2017/06/19
Logo-Shell scripts.png

Slackbuilds Get, a script that make and install Slackware SBo packages and dependencies, recursively

2016/01/21
Logo-Shell scripts.png

A simple script that creates multiple Windows user accounts, puts home directories to drive D:, rename the hostname and configure LAN, automatically.

2014/04/17
Google apps logo.jpg

How to create the google accounts for all students in domain of school with GAM - Google Apps Manager

2013/12/18
Logo-Free Pascal.png

CRC generator verifier algorithm demo and CRC-16 function example in Pascal

2013/04/03
Logo-Slackware mods.png

How to make a Slackware bootable usb-stick starting from Slackware installation DVD, or any Linux system

2013/03/17

Table with text preview and thumbnails

Latest in Programming (source):
 
{{#newsz:Programming|0|5|400| class="T_aqua" style="font-size:12px; width:100%;"}}

Return a table (5 elements), with a text preview (400 chars), thumbnail (first image in article, or default Logo-<category>.png), date, and custom style.

Latest in Programming (result):
Logo-Shell scripts.png
This script solves some problems in wireless networks that lose connection. It's tested in Slackware 13.37 and 14. It uses wpa_supplicant and works with multiple SSID and multiple IP configuration, checks wifi status every 5 seconds and resets wireless system if not working. 2017/06/19
Logo-Shell scripts.png
Here is a simple but powerful script that finds informations directly from SBo html pages, get sources and slackbuilds, make and install all required dependencies, recursively. 2016/01/21
Logo-Shell scripts.png
Here is a simple .bat script that creates multiple users without password, several user account password protected, add a registry key to map the home directory of accounts to drive D, set static IP and DNS of workstations, set password of administrator account. This script is used to automate school laboratories configuration.  2014/04/17
Google apps logo.jpg
Do you have a google apps domain for education and needs to create accounts for all students? Here is a tutorial with GAM (Google Apps Manager). GAM is a command line tool that allows administrators to control their Google Apps domain, manage accounts, groups, and organizations.  2013/12/18
Logo-Free Pascal.png
Here is an example, written in Free Pascal, that explains the CRC algorithm . 2013/04/03

Table with date and page titles

Latest in Programming (source):
 
{{#newsz:Programming|0|5|0| class="T_aqua" style="font-size:12px; width:100%;"}}

Return a table (5 elements), with title of articles and date; custom style.

Latest in Programming (result):
2017/06/19 - A bash script to recover wifi connection that often dissociates, loses the gateway, and other problems. Works with multiple ssid, also
2016/01/21 - Slackbuilds Get, a script that make and install Slackware SBo packages and dependencies, recursively
2014/04/17 - A simple script that creates multiple Windows user accounts, puts home directories to drive D:, rename the hostname and configure LAN, automatically.
2013/12/18 - How to create the google accounts for all students in domain of school with GAM - Google Apps Manager
2013/04/03 - CRC generator verifier algorithm demo and CRC-16 function example in Pascal

Table with date and text preview, without thumbnails

Latest in Programming (source):
 
{{#newsz:Programming|0|5|-400| class="T_aqua" style="font-size:12px; width:100%;"}}

Return a table (5 elements), with date and a text preview (400 chars), without thumbnail; custom style. Note: «cols or chars» field is a negative number.

Latest in Programming (result):
2017/06/19This script solves some problems in wireless networks that lose connection. It's tested in Slackware 13.37 and 14. It uses wpa_supplicant and works with multiple SSID and multiple IP configuration, checks wifi status every 5 seconds and resets wireless system if not working.
2016/01/21Here is a simple but powerful script that finds informations directly from SBo html pages, get sources and slackbuilds, make and install all required dependencies, recursively.
2014/04/17 Here is a simple .bat script that creates multiple users without password, several user account password protected, add a registry key to map the home directory of accounts to drive D, set static IP and DNS of workstations, set password of administrator account. This script is used to automate school laboratories configuration.
2013/12/18 Do you have a google apps domain for education and needs to create accounts for all students? Here is a tutorial with GAM (Google Apps Manager). GAM is a command line tool that allows administrators to control their Google Apps domain, manage accounts, groups, and organizations.
2013/04/03Here is an example, written in Free Pascal, that explains the CRC algorithm .

Retrieved from "http://www.zoros.org/wiki/index.php?title=NewsZ_mediawiki_extension_test_page"