jEdit Community home jEdit Community Wiki > Plugins > IncludesParser jEdit Community Wiki webs:
Main | Plugins | Know | TWiki | Sandbox
Plugins . { Changes | Index | Search | Go }

Includes Parser

Includes Parser was designed to add "Includes Capabilities" to HTML pages. Basically, it allows you to define strings in HTML files that effectively say "Include the contents of file x here". The input files are parsed for strings that contain these directives, and any that contain a valid filename are replaced with the contents of the file.

These contents are then copied to an output file so that the input remains intact. For an HTML site, the input files are stored on your hard drives, while the output is uploaded to the web. This allows you to keep the menu, tables, images, etc that define the overall look of each page (ie: the template) separate from the contents of this page. If you want to add an item to the menu or change the path to an image, you only have to change this in the "menu" file. If there is an include directive for this "menu" file in each of the content files, all you have to do is run Includes Parser on the entire input directory, and then upload the resulting files in the output directory to your website. This functionality can be extended to other sorts of text files besides HTML.

Plugin Page Form
Plugin Name?: Includes Parser
Category: Text
Maintainer: Dusty Phillips?
Latest Version?: 0.4
Released: May 8, 2003
Where To Download: http://plugins.jedit.org/plugins/?IncludesParser
Description: Includes Parser was designed to add "Includes Capabilities" to HTML pages. Basically, it allows you to define strings in HTML files that effectively say "Include the contents of file x here". The input files are parsed for strings that contain these directives, and any that contain a valid filename are replaced with the contents of the file.

Topic IncludesParser . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }
Revision r1.1 - 16 Aug 2003 - 06:21 GMT - Brad Mace
Parents: Web Home
Copyright © 1999-2011 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding jEdit Community Wiki? Send feedback.
Get jEdit at !SourceForge.net. Fast, secure and Free Open Source software downloads