Encounter Journal Export

This project is abandoned.

Whether this project is out of date or its author marked it as abandoned, this project is no longer maintained.

If you wish to take this project over, please report it and state your intentions.

Exports data from the encounter journal introduced in patch 4.2 into XML format. The XML can then be further processed for various purposes. Includes XSL stylesheets to convert the XML into simple html or phpbb code.

How to use

There's no UI, you'll have to use /script to call the functions. These will get the data and show it in a simple edit box. You'll then have to copy it to clipboard and then paste in some file. Exporting everything will take a bit of time and it might seem that the game crashes, just be patient.

/script EJExportAll(onlyRaids)

Exports everything. Will only export raid instances unless onlyRaids parameter is provided and is false.

/script EJExportInstance(instance)

Exports a single instance. If instance parameter isn't provided or is nil, will export the instance that's currently open in the encounter journal. Otherwise the instance parameter must either be an instance id or the name of the instance. The name of the instance is case insensitive but is subject to localization.

Example: /script EJExportInstance("firelands")

/script EJExportEncounter(instance,encounter)

If instance and encounter parameters aren't provided or are nil then the encounter that is currently open in the encounter journal is exported. Otherwise the parameters must either be id numbers or names.

Example: /script EJExportEncounter("firelands","ragnaros")

XSL Stylesheets

Two XSL stylesheets are included, tohtml.xsl and tobbcode.xsl. You can use these to convert the XML data to simple html or bbcode used by phpbb and other forum software. The exported XML data will contain a stylesheet definition for the html stylesheet on the second line. Simply edit this if you wish to convert to bbcode instead. Naturally you can also make your own stylesheets for other output formats.

Note that Google Chrome refuses to load the stylesheet for local files.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of mysticalos mysticalos Sep 01, 2013 at 02:28 UTC - 0 likes

    I made some updates to it that i had modded locally to get it to export 5mans without DCing.

    I have another version I have ALMOST working on 5.4 but still needs more work. 5.4 makes quite a few changes that break the mod (namely the obvious difficulty index changes).

    Last edited Sep 01, 2013 by mysticalos
  • Avatar of Fylwind Fylwind Feb 01, 2013 at 06:53 UTC - 0 likes

    Blizzard has some icons with space (" ") in them and on Wowhead this is translated to a hyphen ("-"). This can be fixed by replacing the corresponding tag with the following:

    <xsl:value-of select="translate(substring(@abilityIcon,17,string-length(@abilityIcon)-17-3),'ABCDEFGHIJKLMNOPQRSTUVWXYZ ','abcdefghijklmnopqrstuvwxyz-')"/>

    Other than that, this add-on still works just fine as of 5.2 PTR.

  • Avatar of olog olog Jun 16, 2011 at 13:44 UTC - 0 likes

    onlyRaids is supposed to be a parameter to EJExportAll function. So what you're probably after is "/script EJExportAll(true)". But if you only want Firelands then do "/script EJExportInstance("firelands")". Actually since you have a French client you will need to replace "firelands" with whatever it's called in French. Or you can open the encounter journal window, then open Firelands there and then do only "/script EJExportInstance()".

  • Avatar of fredericcharlais fredericcharlais Jun 14, 2011 at 16:26 UTC - 0 likes

    it not work with last release of ptr?

    I use the French client and nothing append when i use command like /script EJExportAll(onlyRaids)

    Any ideas?

  • Avatar of olog olog May 22, 2011 at 17:09 UTC - 0 likes

    That does explain what some of the flags are used for. The addon still works fine on ptr as they didn't really seem to change anything with the journal api yet.

    The heroic only flag is a bit strange. If you toggle the heroic difficulty on and off with the button in top right corner it'll hide some abilities altogether. But these aren't always the ones marked with a heroic only flag. So I'm guessing that part is still a work in progress at Blizzard's end.

    Also several of the other flags aren't used at all yet, they're probably still adding stuff there.

    Last edited May 22, 2011 by olog
  • Avatar of yoshimo yoshimo May 22, 2011 at 09:09 UTC - 0 likes

    Do you need to update this for:

    Originally Posted by MMO-Champion

    or is that already taken care of?

  • Avatar of olog olog May 18, 2011 at 14:52 UTC - 0 likes

    That should be fixed now.

  • Avatar of Stanzilla Stanzilla May 17, 2011 at 17:09 UTC - 0 likes

    chrome gets the image links wrong, too. =/



Date created
May 15, 2011
Last update
Sep 01, 2013
Development stage
Public Domain
Recent files
  • R: r7 for 5.3.0 Sep 01, 2013
  • A: r6 for 4.3.0 Dec 31, 2011
  • A: r5 for 4.2.0 Nov 24, 2011
  • A: r4 for 4.1.0 Jun 12, 2011
  • A: r3 for 4.1.0 May 18, 2011


  • Avatar of olog
    • Manager
    • Author


Embedded library