michaelfox + xml   56

UTI Property List Helper
### Description

In Mac OS X 10.3, Apple introduced a new scheme for identifying data types called [Uniform Type Identifiers][1].

One requirement that Mac OS X puts on any application that wants to use these identifiers is that it declare them in its Info.plist—not just in [CFBundleDocumentTypes][2] and [NSServices][3], but also in [UTImportedTypeDeclarations][4] and [UTExpertedTypeDeclarations][5]. Otherwise, Mac OS X 10.4 and later will ignore your application's uses of those UTIs elsewhere in your Info.plist.

This creates a lot of work for you, especially when importing a type declaration. Exporting a new declaration is easy, because it's your type: you can make up whatever you want. But to import a declaration, you must gather information about it and construct the dictionary yourself. This gets tedious, especially for some types (such as image types) that you may import in one application after another.

UTI Property List Helper is an application to solve this problem for you.

![The UTI Property List Helper window contains a table view, wherein you enter the UTIs, and two text views: one showing the CFBundleDocumentTypes array, and the other showing the UTImportedTypeDeclarations array.][6]


Simply add types to the list in the upper half of the window, and UTI Property List Helper will automatically update the two arrays in the lower half. When you're done, either select and copy each array's XML text into your Info.plist, or save it to a file.

### Mercurial repository

If you want to contribute bug-fixes or enhancements to UTIPropertyListHelper, the easiest way to do that is to clone [the Mercurial repository for UTIPropertyListHelper][7]. To do this, type this command into a terminal:

hg clone http://boredzo.org/uti-plist-helper/hg UTI-Plist-Helper

I provide UTIPlistHelper—the application, and its source code—under a three-clause BSD license. For more information, see the file named LICENSE.txt that comes with it.

[1]: http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/
[2]: http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-101685
[3]: http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-107265
[4]: http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-114192
[5]: http://developer.apple.com/documentation/MacOSX/Conceptual/BPRuntimeConfig/Articles/PListKeys.html#//apple_ref/doc/uid/20001431-SW7
[6]: http://boredzo.org/UTI_Plist_Helper.png
[7]: http://boredzo.org/hg
shell  scripting  bash  uti  plist  tools  osx  xml  mac 
september 2011 by michaelfox
XV - Google Chrome Extension
XV is an XML viewer for Google Chrome. Online demo: http://media.chikuyonok.ru/xmlview/

*** Version 1.0.3 overrides native XML tree viewer in Chrome 11.x. There might be a flash of native viewer (depends on XML size), this may be fixed in future versions of Google Chrome only. ***

Features:

* Collapsable elements: Alt+click to expand/collapse all descendant elements. Double-click on opening or closing tag to collapse it.

* Outline for better document overview

* Search by name or XPath. By default uses simple search mode which looks for a partial match in element‘s or attribute’s name; use special symbols like '/' or '[' to search by XPath

* Quick XPath mode: hold down Command (Mac) or Ctrl (PC) key while moving mouse cursor over element‘s or attribute’s name to enter Quick XPath mode. Use Shift key to cycle through available XPath variants and then drag’n’drop element under cursor into text editor, click on element will copy XPath to clipboard
tools  browser  plugins  extensions  chrome  xml 
june 2011 by michaelfox
XSLT Tools Scripting Addition
The XSLT Tools Scripting Addition allows AppleScript to apply XSLT transformations to XML data and to use XPath expressions to extract information from XML data. XSLT Tools also allows you to extend the XSLT processor using AppleScript functions.
applescript  osx  xslt  xml 
may 2011 by michaelfox
XML Tools Scripting Addition
The XML Tools AppleScript Scripting Addition allows AppleScript to parse and generate XML data. XML Tools's parsing can generate a complete DOM-like structure or it can operate in a SAX-like event handling mode.
applescript  osx  xml 
may 2011 by michaelfox
Connecting to the API using PHP - Documentation Wiki
This document contains conceptual and procedural information on connecting your development environment or other systems to the ExactTarget web service API via PHP.
exacttarget  php  soap  wsdl  xml 
october 2010 by michaelfox
lvtrii's iTunes-Library-Parser at master - GitHub
PHP Class to parse iTunes Library XML Files. See example.php for example usage. The library is an array of track objects. The track object has no methods, but contains the following properties: Track_ID Name Artist Album Genre Kind Size Total_Time Track_Number Year Date_Modified Date_Added Bit_Rate Sample_Rate Comments Play_Count Play_Date Play_Date_UTC Persistent_ID Track_Type Location File_Folder_Count Library_Folder_Count
itunes  xml  parser  php  development  automation  library 
june 2010 by michaelfox
Add Custom Values To Your WordPress RSS Feed | Script & Style
WordPress creates two different feeds: a basic RSS feed and an Atom feed. Script & Style, like almost every other blog out there, uses FeedBurner to serve the syndication feed, and we chose to have FeedBurner use the Atom feed. In our experience, the Atom feed has been more stable and doesn’t cause problems in Google Reader like the basic RSS version does from time to time. Since we’re serving the Atom feed, we’ll need to modify the feed-atom.php file.
wordpress  rss  atom  customization  xml  feed  php 
may 2010 by michaelfox
Official Google Webmaster Central Blog: Help Google index your videos
The single best way to make Google aware of all your videos on your website is to create and maintain a Video Sitemap. Video Sitemaps provide Google with essential information about your videos, including the URLs for the pages where the videos can be found, the titles of the videos, keywords, thumbnail images, durations, and other information. The Sitemap also allows you to define the period of time for which each video will be available. This is particularly useful for content that has explicit viewing windows, so that we can remove the content from our index when it expires.
video  seo  sitemap  xml  metadata  webmaster  robots  crawler  google 
april 2010 by michaelfox

related tags

adium  ajax  apache  api  applescript  appliance  apps  atom  audio  automation  backup  bash  bestpractices  browser  chapters  chat  cheatsheet  chrome  cli  cocoa  code  codeigniter  collection  color  countries  crawl  crawler  cron  css  curl  customization  data  database  design  development  dom  domain  dublin  ebooks  email  environment  epub  essentials  exacttarget  export  extension  extensions  favicon  feed  feeds  filter  firefox  format  forms  framework  generator  google  googlemaps  googlesearchappliance  hcard  help  howto  htaccess  html  http  ios  itunes  javascript  jquery  json  launchd  library  list  log  mac  maps  markdown  metadata  metatag  microformats  mongodb  mozilla  mysql  oop  opensearch  oreilly  osx  parser  parsing  password  pdf  perl  php  plist  plugins  podcasts  programming  publishing  python  rdf  reference  regex  resources  rest  restful  robot  robots  rss  ruby  scraper  scraping  scrapy  script  scripting  search  seo  server  shell  simplexml  simple_xml  sitemap  snippets  soap  spider  sql  standards  style  styleguide  template  toolbox  tools  tooltips  transform  tutorial  tutorials  url  uti  video  web2.0  webdev  webmaster  webservice  wordpress  wsdl  xml  xpath  xsl  xslt  xsltproc  xul  yaml 

Copy this bookmark:



description:


tags: