| Name | OPML Plugin |
|---|---|
| Vendor | ARC Centre of Excellence for Creative Industries & Innovation (Website) |
| Authors | David Peterson |
| Homepage | http://confluence.atlassian.com/display/CONFEXT/OPML+Plugin |
| Issue Management | http://developer.atlassian.com/jira/browse/OPML |
| Continuous Integration | n/a |
| Categories | Content Macros |
| Most Recent Version | 1.2.1 |
| Availability | Confluence v2.3 to v2.10 |
| State | Stable |
| Support |
|
| License | Freeware / Open Source (BSD) |
| Price | Free |
| Release Docs | http://confluence.atlassian.com/display/CONFEXT/OPML+Plugin |
| Java API Docs | n/a |
| Download Source | http://svn.atlassian.com/svn/public/contrib/confluence/opml-plugin/tags/1.2.1/ |
| Download JAR | opml-plugin-1.2.1.jar |
| This plugin is now accessable through the Confluence Repository Client. |
Description
This plugin displays an OPML file in Confluence. Extra data can be listed in customisable columns and subsections are expandable on demand.
Downloading & Installing
Confluence 2.2.1a+
Option 1
The recommended way of installing is to use the Confluence Repository Client. This will not only make it easier to install, but it will help keep you up to date with this and other plugins.
- Open the repository client screen.
- Select 'Install' for the OPML Plugin entry.
Option 2
Alternately, you can install it manually:
- Download opml-plugin-1.1.jar
- Upload it using Confluence's administration console.
Screenshots
|
|
|
|
|
An example of an OPML file in action.
|
OPML file showing the first level expanded
|
A typical OMPL file displayed with multiple columns and the outlines collapsed
|
|
|
|
|
|
Unicode problems with OPML plugin
|
Macros
{opml:source=^attachment.opml}
Details: Displays an OPML file.
Parameters:
| Name | Required | Description |
|---|---|---|
| source | |
The location of the OPML file. May be an attachment (^attachment.opml) or a URL (http://server/file.opml). |
| width | |
Sets the width of the displayed table. Eg. '100%', '400px'. |
| class | |
An additional CSS class to apply to the generated table. |
| showTitle | |
If 'true', display the title listed in the OPML file. Defaults to 'false'. |
| iconType | |
Specifies the type of icon to display, either 'image' (the default), 'wiki', or 'text'. |
| expandIcon | |
The icon to display when the section can be expanded. |
| collapseIcon | |
The icon to display when the section can be collapsed. |
| singleIcon | |
The icon to display when the section has no subsections. |
{opml-column:name=attribute}
Details: Configures a column to display based on <outline> attributes.
Parameters:
| Name | Required | Description |
|---|---|---|
| name | |
The name of the attribute to display in the column. |
| title | |
The title to display for the column. If not specified, the name is used. This may be wiki text, and alternately the macro body may specify the title if the wiki markup is too complex for a macro parameter. |
| type | |
The type of data in the column. This allows for customised formatting of the data. This may be one of the following:
|
| sourceFormat | |
Only used if type is 'date'. Allows you to specify how the date is described in the OPML file. Eg. 'dd-MM-yyyy' will understand '01-Jan-1970'. |
| displayFormat | |
Only used if type is 'number' or 'date'. Allows you to specify how the value is displayed.
|
| width | |
The width of the column. Eg. '50%', '200px'. |
Examples
- Attach an OPML file to your page. You can get one to try it out here.
- Add something like this to your page:
{opml:source=^playlist.opml|width=100%} {opml-column:name=text|title=Song Title} {opml-column:name=f|title=Filename} {opml-column:name=duration|title=Duration|type=number|displayFormat=#0 sec} {opml-column:name=lastPlayed|title=Last Played|type=date|sourceFormat=dd-MMM-yyy, HH:mm:ss|displayFormat=MMM dd, yyyy @ hh:mm a} {opml} - View your page. You should get something that looks like this:

Open Issues
Release History
| Version | Date | State | License | Price |
|
|
12 Apr 2007 | Stable | Freeware / Open Source (BSD) | Free |
|
|
20 Nov 2006 | Stable | Freeware / Open Source (BSD) | Free |
|
|
14 Sep 2006 | Stable | Freeware / Open Source (BSD) | Free |


Comments (6)
Sep 28, 2006
Frankenstein says:
looks likeexactly what I need. But wouldn't you know it? I get this error: stdo...looks likeexactly what I need. But wouldn't you know it? I get this error:
stdout.log:Caused by: java.lang.ClassNotFoundException: au.edu.cci.confluence.opml.OpmlMacro [java.lang.ClassNotFoundException: au.edu.cci.confluence.opml.OpmlMacro [java.lang.NoClassDefFoundError: org/randombits/confluence/support/ConfluenceMacro]]
stdout.log:2006-09-27 20:22:24,147 ERROR [atlassian.plugin.loaders.AbstractXmlPluginLoader] configurePlugin There were errors loading the plugin 'OPML Plugin'. The plugin has been disabled.
stdout.log:2006-09-27 22:59:45,320 ERROR [atlassian.plugin.loaders.AbstractXmlPluginLoader] createModuleDescriptor There was a problem loading the descriptor for module 'macro' in plugin 'OPML Plugin'
stdout.log:com.atlassian.plugin.PluginParseException: Error retrieving dependency of class: au.edu.cci.confluence.opml.OpmlMacro. Missing class: org/randombits/confluence/support/ConfluenceMacro
stdout.log:2006-09-27 22:59:45,323 ERROR [atlassian.plugin.loaders.AbstractXmlPluginLoader] configurePlugin There were errors loading the plugin 'OPML Plugin'. The plugin has been disabled.
I am using Confluence 2.2.6a running Resin 2. I don't see the macro in the Plugin Repository so I downloaded the jar to my desktop and manually tried to install it via 'browse' - select jar file and upload from the Plugins page.
Any help would be appreciated.
Thanks
-J
Sep 28, 2006
David Peterson [CustomWare] says:
Hmm...very odd behaviour. I'm not sure why it wouldn't be showing up in the repo...Hmm...very odd behaviour. I'm not sure why it wouldn't be showing up in the repository in the first place, but it should definitely be uploadable.
One possibility is that the jar file you have downloaded is corrupted. Internet Explorer has a bad habbit of renaming 'jar' files to be 'zip' files when downloading from the Atlassian SVN repository. When that happens, unpredictable stuff happens. If you're using IE, could you try downloading by right-clicking and selecting 'Save As', and manually enter 'opml-plugin-1.0.jar' as the file name. Then try uploading it.
Let me know if this helps...
Mar 17, 2007
Yann Doussot says:
Does the plugin really works with Confluence 2.4.2 as stated ? I've juste update...Does the plugin really works with Confluence 2.4.2 as stated ? I've juste update our installation to 2.4.2 and it breaks:
2007-03-17 12:38:35,065 ERROR [http-8081-Processor19] [renderer.v2.components.MacroRendererComponent] processMacro Unexpected error formatting macro: opml
- url: /confluence/display/RB/Mes+blogs | userName: doussot | action: viewpage | page: 5201 java.lang.NoClassDefFoundError: bucket/core/EntityObject
at au.edu.cci.confluence.opml.OpmlMacro.getIOSource(OpmlMacro.java:430)
at au.edu.cci.confluence.opml.OpmlMacro.execute(OpmlMacro.java:170)
at org.randombits.confluence.support.ConfluenceMacro.execute(ConfluenceMacro.java:55)
at com.atlassian.renderer.v2.macro.ResourceAwareMacroDecorator.execute(ResourceAwareMacroDecorator.java:45)
Any idea ? Thanks.
Apr 11, 2007
James Hines says:
I too am having difficulty with this plugin. I see the following error mes...I too am having difficulty with this plugin. I see the following error message when rendering an OPML file when this plugin is installed in 2.3.1. (Note: This works fine on 2.2.10)
Apr 11, 2007
David Peterson [CustomWare] says:
I've added a 2.3+ compatible version. You can download it here or get it from th...I've added a 2.3+ compatible version. You can download it here or get it from the repository in the next 20 minutes or so.
May 23, 2007
Pascal Robert says:
I just tried with an OPML file (exported from OmniGraffle), and the accented cha...I just tried with an OPML file (exported from OmniGraffle), and the accented characters (é, à, è, etc.) are all messed up. The OPML file is in UTF-8 (without BOM). Output in Confluence :
The last line should display " Dernière étape ", and it's correct in the OPML file :
<outline text="Dernière étape">