Article

Imagen de tjbayly
article
Reads:

%count lecturas

Score:
0
0
 
Comments:

0

Retrieving a Table of All Currently Available iManager Plug-ins

Author Info

20 February 2008 - 10:41am
Submitted by: tjbayly

Problem

Ever wanted to find out what the current released version of a particular iManager plugin is? Ever had difficulty locating a plugin for a particular product on a given version of iManager and wondered whether one even existed?

When iManager checks for updates, it retrieves the xml file http://www.novell.com/products/consoles/imanager/iman_mod_desc.xml and parses it for the info it wants. According to the documentation, this happens once per week. Therefore, if you want to know what the latest modules are and where they are posted you just access this file and read the attributes.

Of course, reading XML isn't particularly fun for a human being, so let's employ a very basic XSL stylesheet that turns it into an html table. Yes, it's ugly - but it gets the job done.

Here's the XSL:

iman_0.png

In order to use it create a file with the above contents on your hard drive named iman.xsl, then download the iman_mod_desc.xml file to the same directory. Edit iman_mod_desc.xml and prepend the following to it:

<?xml version="1.0" ?>
<?xml-stylesheet type="text/xsl" href="iman.xsl"?>

Open iman_mod_desc.xml in a browser and you'll have a table that looks like this:


















Name Version Description Min Req'd iMgr Max Req'd iMgr Download Link
          Download

AdjuntoTamaño
iman.xsl769 bytes




User Comments

© 2013 Novell