September-1, Ping-O-Matic, Yahoo, Atom, watch lists, and many many more
202 script files have been updated from the previous August-10 release. This should be considered as a major release of YACS!
If you check the list below carefully, you will see no breakthrough in this release. Of course, some important features have been added. But, most importantly, about two third of scripts have been reviewed and enhanced in order to better support web standards and state-of-the-art PHP coding rules. As a result YACS is more and more becoming a reference platform for blogging web communities.
The home page (index.php) can now display a list of sections and/or of categories similar to Yahoo! portal. Related parameters are set in the configuration panel for skins, at skins/configure.php.
The bookmarklet aiming to ease the posting to a section now uses YACS codes. This means that skin rules will apply to them accordingly. See sections/view.php.
Intensive documentation effort of the server-side blogging script, namely services/blog.php. Now also supports
Ping-O-Matic has been added to the default server profiles, and the entry for weblogs has been suppressed because of poor response times. You will ping more servers in smaller amount of time. Also, a message has been added for intranet users, for whom external pinging is almost useless. See servers/populate.php.
The server-side pinging script now returns correct codes and messages on
Banned servers are now correctly blocked at
A new Atom 0.3 newsfeed is available at feeds/atom_0.3.php. Look at feeds/atom_0.3.php
Shortcut to My Yahoo! added from the feeds index at feeds/index.php
Internal bookmarks have been changed to watch lists (see articles/view.php and users/view.php). Also, contributed pages are automatically added to watch lists of contributors. This means that if Alice posts an article, and if Bob adds a comment, both of them will be warned when Cyril will post another comment. Previously Bob was not aware of Alice feddback.
E-mail messages are sent to watchers on each article updates, including comment post, image or file upload, or link attachment. Previously only new comments were tracked. See new code in articles/articles and search the function
Also, the script used to manually update the watch list now displays the new status of the related page. See users/track.php. Previously it silently redirected to the watched page.
Templates used to format pages to print now also have
YACS now make clickable links out of standalone web and mail references (codes/codes.php). Test code updated as well (codes/basic.php).
A meta-link to our help page is now automatically added by
Trackback links have been added to our RSS 2.0 newsfeeds. This should ease the job of our preferred newsreaders or blogging tools. Check services/rss_codec.php and articles/articles.php.
The anchor interface (shared/anchor.php) has a new member function
As a consequence, navigation links have been added to items attached to articles (see articles/article.php). These links will act as shortcuts to browse more easily between these items, including: comments (~thread reading), files (~document repository), images (~photo album), and locations (~geographical atlas).
The same approach has been implemented for items attached to user profiles, for actions, comments, files, images and locations (users/user.php).
We have started to work on a new layout aiming to build electronic manuals. Still a lot to do... See articles/layout_articles_as_manual.php and comments/layout_comments_as_manual.php.
A new layout is also available for forums. The objective is to offer a simplified interface to unfrequent Internet users. See articles/layout_articles_as_jive.php, comments/layout_comments_as_jive.php.
The layout interface (skins/layout.php) has a new member function
Aside from the existing quoting command, YACS now has a new command to reply to a comment. See the function
Layouts for comments have been updated to show subsequent editors, if any, and to show reply and quote commands (see layout scripts in the directory for comments).
The printing script now correctly include comments and links attached to articles (articles/print.php)
Locking has been enforced. When an anchor has been locked, no related item can be submitted. This concerns: comments (comments/edit.php), files (files/edit.php), images (images/edit.php), links (links/edit.php), locations (locations/edit.php) and tables (tables/edit.php) posted to articles.
Locking has also been enforced for actions linked to user profiles (actions/edit.php)
YACS starts to support Unicode utf-8. ATOM and RSS Newsfeeders have been updated accordingly, including categories/feed.php, feeds/atom_0.3.php, feeds/rss_2.0.php, sections/feed.php, users/feed.php, etc. RDF Meta descriptors have been changed as well, including articles/describe.php, categories/describe.php. The export script (articles/export.php) also support utf-8. We are not using
A function aiming to support transcoding from Windows cp1252 to Unicode has been added to shared/global.php, just in case...
Automatic quoting made by PHP, if any, is undone at shared/global.php. We prefer to handle quoting ourselves... Functions
Each time that a dynamic string (i.e. coming from the database) has to be used as an attribute of an HTML tag, it is properly quoted using
Code used to save parameters in configuration files has been changed to properly quote strings, using
Text sent in e-mail messages is now purged from any HTML tag, using
The script used to check articles now support 10,000 records instead of 200 (articles/check.php).
Associates can now populate default pages directly from articles index at articles/index.php. See also articles/populate.php. A new default extra box has been added to link to our main RSS feed from the home page.
The handling of non-textual flags is now based on constants such as
The member function
Test script (control/test.php) enhanced to show more information to non-associates. Available from the control panel directly (control/index.php)
Calls to
Use
Code has been reorganised to ease the future localization of YACS to other languages. This concerns: about.php, codes/blocks.php, codes/links.php, codes/misc.php, codes/tables.php, and codes/titles.php.
blogger.getPost that was inadvertently forgotten previously.weblogUpdates.ping calls.ping() time in servers/servers.phptouch(). New member functions mail_to() and mail_to_watchers() have been added to users/users.php to support this feature.<body onLoad='javascript:print();'> to actually trigger the printing process. Check files template_print.php in directories of reference skins.render_skin() at shared/global.php. Just to further implement w3c standards...get_neighbours() aiming to support links to next and previous items. At the same time, a neighbours() function has been added to skins/skeleton.php.items_per_page() that can be used to change the number of items listed. Layout for home articles have been updated as well in the directory for skins. Featured at articles/view.php for exampleget_url() in comments/comments.php, and the usage at comments/edit.php.htmlspecialentities() anymore.get_decoded() and decode_all() have been obsoleted.htmlspecialchars(). All forms are concerned, because of <input> and <textarea> fields. UPDATE and INSERT mySQL statements now use mysql_escape_string() to properly quote text saved in the database.
Also, these statements have been neatly reformatted to avoid hardcoded newlines.addcslashes(..., "\\'"). Check agents/configure.php, collections/configure.php, control/configure.php, feeds/configure.php, files/configure.php, letters/configure.php, scripts/configure.php, services/configure.php, and skins/configure.php.strip_tags(). See agents/logger.php[/code], [script]articles/edit.php, articles/mail.php, query.php and users/mail.php.DRAFT_FLAG, PRIVATE_FLAG, RESTRICTED_FLAG, BULLET_IMG, QUESTION_FLAG, ANSWER_FLAG, HORIZONTAL_RULER. See scripts used for layouts in the articles directory, and skins/skin_skeleton.php.build_date() used to format dates in skins/skin_skeleton.php now supports ISO 8601. The member function build_link() in the same file now correctly guess URL for ftp and nntp servers.$REQUEST_URI changed to $context['self_url'] in codes/codes.php.socket_time_out() changed to stream_socket_timeout() in feeds/feeds.php, in links/link.php and in services/call.phpurlencode() in query strings (after the '?') and rawurlencode() elsewhere. See files/fetch.php.Comments
Rate this page
Posted by Bernard on Sep. 1 2004, (popular)