Lightning Notes Code
A simple web-logging system in PHP using an XML database.
Brought to you by:
ligtnindmitiorz
File | Date | Author | Commit |
---|---|---|---|
admin | 2011-12-05 |
![]() |
[9ac47a] even less files |
c | 2011-11-27 |
![]() |
[56db33] microtweaking of looks |
features | 2011-11-26 |
![]() |
[38da28] testing subfolder |
i | 2011-11-26 |
![]() |
[38da28] testing subfolder |
j | 2011-11-26 |
![]() |
[38da28] testing subfolder |
MySubscriptions.opml | 2011-11-26 |
![]() |
[38da28] testing subfolder |
archive.php | 2011-12-05 |
![]() |
[8f4161] line endings |
category.php | 2011-12-05 |
![]() |
[8f4161] line endings |
feature.php | 2011-12-05 |
![]() |
[8f4161] line endings |
index-safe.rdf | 2011-11-27 |
![]() |
[bca9ae] various UIX tweakings, RDF review, removed lega... |
index.php | 2011-12-05 |
![]() |
[8f4161] line endings |
index.rdf | 2011-11-27 |
![]() |
[bca9ae] various UIX tweakings, RDF review, removed lega... |
readme.txt | 2011-11-27 |
![]() |
[bca9ae] various UIX tweakings, RDF review, removed lega... |
search.php | 2011-12-05 |
![]() |
[8f4161] line endings |
LIGHTNING NOTES A simple logging system, created as a proof-of-concept. Fully standards compliant and accessible, it is designed to quickly set up a functional and structured site to conveniently track related and unrelated items. SET UP Installation starts with filling in the root and path, as well as the author's name and e-mail address, a picture and description in the /admin/config.php file. The information is stored in a php array. Use .htaccess or similar to secure the /admin/ directory. POSTING The entry form lives at /admin/enter.php. Choose an input language, decide whether to draft or publish and if this is a post or a feature article with an associated html file. LAYOUT Liquid. Styleswitching to either light or distinctive dark red scheme. FEATURES Automatic Archiving Every entry is assigned a unique id. XML-Powered Entries are saved as xml-data, in one single xml-file; CON: constrained by size of file, PRO: easy search and manipulation, dynamic sort, no static html-pages necessary. Automatic RDF Every entry with <status>published</status> is automatically indexed in a standard rdf 1.0 file, available for syndication. Outline Processor Markup Language Parsing OPML-files, shown on the front page as a definition list. Textinput Textile Search Substring in title, body, keywordsÉ Cross Referencing Related entries are shown with individual articles. BLOG SOFTWARE CHART URL of the home page for the software Sample install: http://alexanderbecker.net/lightningnotes/ Current version number of the software in production As of 2004-06-14 | 2011-11-25: 0.1 License requirements for the installation of the software GPL, see below Languages supported by the administration interface of the system en-US System's administrative interface localized based on individual user settings? No Maximum number of weblogs (channel of postings) that the system can manage through a single installed administrative interface 1 Minimum requirements of the server on which the software is to be installed PHP 4.1 Primary source of drawn data for the transmission of site pages XML-Data-File -- When the site is served to requesting browsers, the data for the page is pulled from a flat file and inserted into a template for delivery. Methods for ordering the display of posts on the site descending -- Posts can be ordered in descending chronological order, with the newest at the top Category -- Posts can be ordered by the category in which they appear. Categories Allows posts to be classified by categories: the system allows posts to be classified by multiple categories -- A post can be assigned to any number of categories. Subcategories Allows subcategories to be created in a hierarchy Keywords Allows keywords to be associated by a post author to each post, and also allows the system to return posts that are related by these keywords via a keyword search Default Post Fields TITLE, BODY, EXTENDED BODY, KEYWORDS, EXCERPT Post Editor Textile -- The system accepts post data from a <textarea> and processes it through Textile. There may be scripted controls that automatically apply Textile markup. http://www.textism.com/tools/textile/index.html HTML -- plain entry Draft mode Supports submitting unpublished drafts of posts Bookmarklets Search, Post Versions of RSS the system produces for syndication RSS 1.0 (RDF) Template Storage PHP File -- The templates are stored as PHP files and are executed. The code built into the template files inserts post data for display. Template Tagging PHP functions -- The template contains actual PHP functions that execute to insert post data at that point. Users Single user -- There is only one user account that can log in to the software control panel. User profile Simple -- The system includes some amount of pre-defined user profile information that can be edited by the user Skin Switch Incorporates a method by which users can change between styles of display of the site. This may be by CSS or by template selection. Linkroll OPML -- the system can maintain a list of links to external sites LEGAL Lightning Notes version 0.1 Copyright 2003 - 2011 by Alexander Becker ab@alexanderbecker.net http://sourceforge.net/projects/lightningnotes/ Copyright Notice: This program is licensed under the GPL http://www.gnu.org/copyleft/gpl.html Disclaimer: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.