XML View Plugin Changelog

What's new in XML View Plugin 2.1

Nov 22, 2010
  • This version adds a new “View Original” option to the plugin’s menu that disables all plugins for the current page. This provides a workaround for viewing sites that use XSLT stylesheets, such as http://google-styleguide.googlecode.com/svn/trunk/objcguide.xml.

New in XML View Plugin 2.0 (Jul 10, 2010)

  • Small fix for JSON rendering so it doesn’t escape < and & characters (GitHub issue #5)

New in XML View Plugin 1.9 (Apr 5, 2010)

  • JSON support! XML View Plugin now registers for and formats JSON data in addition to XML, an often requested feature.

New in XML View Plugin 1.8 (Apr 5, 2010)

  • Safari now relaunches after an auto-update of the plugin.

New in XML View Plugin 1.7 (Mar 11, 2009)

  • CSS tweaks related to collapsed elements in the “Formatted and Styled” view. Note that you must restore the default CSS code with the Reset button in the preferences panel to get the new version if you have previously customized the code.
  • & and < are now correctly displayed as & and < in the “Formatted and Styled” view.

New in XML View Plugin 1.6 (Mar 11, 2009)

  • The default JavaScript code now lets you Option-click on a tag name to recursively collapse/expand all child elements. This is useful if you Option-click first to collapse deeply and then do a regular click on the same element to expand again. This will leave all childs collapsed. This often helps when viewing big documents with long lists. Note that you must restore the default JavaScript code with the Reset button to get the new version if you have previously customized the code.
  • JavaScript errors and exceptions are now displayed, making debugging easier.
  • Using the alert() function in JavaScript customization code shows the alert message in an alert sheet in addition to logging it to the system console.
  • Preferences and About panels are now closed when the XML page is closed or reloaded, preventing orphaned or duplicate windows.
  • Undo now works in the CSS and JS text boxes.

New in XML View Plugin 1.5 (Mar 11, 2009)

  • There is a new formatting view option that colorizes the XML. This view is interactive and lets you click on tag names of elements with mixed content to collapse or expand the children. In the example above, the sub element is collapsed.
  • Because this option presents a logical view of the document that does not match the XML data sent by the server byte-for-byte, the two old formatting options, which present the original data more faithfully, are still there. They have been renamed in the action menu, the three options are now called “View Raw”, “View Formatted” and “View Formatted and Styled”.
  • The new formatting option is based on HTML, CSS and JavaScript. You get access to the CSS and JavaScript code in a new Preferences dialog where you can customize it according to your needs. Such customization can range from simple syntax coloring color changes to highly interactive mini applications for your particular XML format.
  • The Find panel now works in Safari 4 Beta.

New in XML View Plugin 1.4 (Mar 11, 2009)

  • Previous versions sometimes truncated large XML documents, especially when loading from a slow server or over a slow connection. The problem is fixed in this version.

New in XML View Plugin 1.3 (Mar 11, 2009)

  • The plugin no longer loads the XML data a second time in a separate HTTP GET request. Instead, it reuses the data already loaded by the browser. This is important if requesting the URL a second time has undesired side effects on the server (which an HTTP GET shouldn’t) or if the URL can only be accessed via a POST instead of a GET request.
  • The ⌘-E keyboard shortcut for “Use Selection for Find” now works, it didn’t in previous versions. Unfortunately, picking the command from the menu bar with the mouse still doesn’t work because I can’t intercept that event. That is probably not a common use case anyway.
  • Improved the description of the plugin and its MIME types in the list displayed by Help > Installed Plug-ins.

New in XML View Plugin 1.2 (Mar 11, 2009)

  • The last auto-update to version 1.1 changed Safari’s proportional font settings. You might have noticed smaller fonts on some web sites afterwards, sorry about that. This version fixes the problem for future updates, but you have to restore your font settings once after updating to version 1.2. Apple’s default is Times 16, but you might want to pick something nicer while you’re at it.
  • The problem was caused by a bug in the auto-update library I use for this plugin.
  • The About panel was made editable in 1.1 by mistake. Fixed in this release.

New in XML View Plugin 1.1 (Mar 11, 2009)

  • The Find command for searching text works now.
  • Minor tweaks and cleanups.

New in XML View Plugin 1.0 (Mar 11, 2009)

  • First public release.