jEdit Community - Resources for users of the jEdit Text Editor

HTML and XML


Browse and link (browseAndLink.bsh v20-Mar-05 by Pavel Štětina and Jean-François Magni)
Submitted by jfm on Tuesday, 2 November, 2004 - 13:16
(If this macro doesn't work using the macro manager, download it directly from http://community.jedit.org/?q=filestore/browse/39). This macro opens a file browser in order to insert links with relative path in an html file. It can be used for linking html, pdf, images, shortcut icons, style sheet files and Javascript files. For images, "width" an "height" in pixel are added. If html files are selected in the file browser, the anchors and id's of this file are listed in a dialog window. It is also possible to edit existing tags (e.g., img) and much more.

Updated on 03/20/2005 - 11:22
Downloads: 2455

Date Tag Buddy (Date_Tag_Buddy.bsh v0.2 by Ralf Kintrup)
Submitted by RalfK on Tuesday, 7 March, 2006 - 11:12
[READ THIS USING THE MACRO MANAGER] Updates certain date value tags in an HTML buffer (the current edit mode must be "html"): 1. Updates the date value of a modification date tag:
Last modified: 01 Mar 2006
2. Updates the year in a copyright text: © Me 2006 Updates all "includes" in an HTML buffer. An include is defined as two HTML comments where the first one contains the path to a file that should be inserted between the comments: The path can be relative, as in the example, or absolute. Included files may contain date tags. The date tag and "include" updates can be automatically updated when the buffer is saved. Therefore install Ollie Rutherfurd's ActionHooks plugin (http://plugins.jedit.org/plugins/?ActionHooks) and set it up: 1. Add the Date Tag Buddy macro to the "BufferUpdate.SAVED" event list. 2. Configure the ActionHooks plugin to start up with JEdit. This ensures that date tags and "includes" are automatically updated whenever the HTML buffer is saved. A modification tag is identified by
and
. A copyright text is identified by © and . The macro assumes that the date value is located at the end of each tag. To change the default behavior of the macro you can modify the constants at its end. Checked for jEdit 4.3pre3 API.

Updated on 03/15/2006 - 06:47
Downloads: 1790

Hypertext Link (Hypertext_Link.bsh v0.1 by Vojtech Broz (vojtech.broz@email.cz))
Submitted by xbrov01 on Monday, 26 July, 2004 - 10:43
This BeanShell macro creates an HTML anchor (<A HREF="">...</A> tag) for a URL selected in a buffer. Also gets the HTML page title from the web and puts it into the tag body. Requires the jTidy plugin.

Updated on 07/27/2004 - 10:36
Downloads: 1943

Make Scriptlet (Make_Scriptlet.bsh v1.0 by Tomasz Peszor)
Submitted by takeshin on Thursday, 7 August, 2008 - 08:19
Macro for creating valid HTML bookmarklets. Compress JavaScript to one line of code, removing newline characters and other whitespaces in the current buffer or selection. Makes the text appropriate for use as a JavaScript bookmarklet. Based on Make_Bookmarklet.bsh by delvinj, but my version produces valid HTML source.

Updated on 08/07/2008 - 08:40
Downloads: 1185

Replace HTML/XML tags (Replace_Tags.bsh v1.0 by De Franciscis Dimitri megadix@gmail.com)
Submitted by megadix on Wednesday, 7 September, 2005 - 13:59
Replace an HTML/XML tag with another, preserving all the rest: - attributes (even with incorrect syntax) - whitespace - character data

Updated on 09/08/2005 - 13:42
Downloads: 4166

Saxon file chooser (saxon_chooser.bsh v1.0 by Dan Wasson)
Submitted by was8309 on Wednesday, 31 October, 2012 - 18:45
very simple macro to choose an xml file, then an xsl file, then run saxon on them in console. I'm trying to learn xslt 2 and needed a 'repl' for trying a bunch examples from websites. there are currently several sites that do transforms via xslt 1.0, but I can't find one for xslt 2.0, hence saxon (saxon9he). maybe todo : add *.xml and *.xsl filters

Updated on 10/31/2012 - 18:45
Downloads: 1033

Validate HTML (check_html1.bsh v1.00 by Lars Naber)
Submitted by fixedsys on Wednesday, 28 January, 2004 - 12:02
A Beanshell macro to check html files with an external software using the Console plugin. You have to change the path to the checker in the macro for your needs.

Updated on 02/05/2004 - 07:47
Downloads: 1910

There are 480 downloads in our database
User login
Browse archives
« April 2024  
MoTuWeThFrSaSu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293