michaelfox + url   45

del.icio.us info for URL: a Mac OS X system service
This is a service that, given a URL as input, will open the del.icio.us info page for the URL in your favorite browser. Here's an example of an info page.

The service was written in zsh shell-script and turned into a service with ThisService.
service  osx  automation  url  info  delicious  zsh  shell  script 
september 2011 by michaelfox
AppleScript: Launching Scripts From Links

Home
Features

Learn
Explore

Launch Scripts from Webpage Links
AppleScript applications can interact with websites displayed on your computer to perform tasks and display information. This is done through the process of the AppleScript application registering itself with the OS as the handler of specific URL protocols and schemes.

The following describes how to create your own helper script applications.

THE INFO.PLIST FILE

When you save the script as an application bundle, it will contain the standard Mac OS X bundle elements including an XML property list file defining important aspects of the script application.

To access the Info.plist property list, click on the script application with the Control key held down to access the Finder Contextual Menu. Choose Show Package Contents from this menu to open the script application bundle in a new window. Open the Contents folder within the new window to reveal the Info.plist file. Open this file in a text or property list editor and add the following XML keys and values to the property list.

To identify the Application, add the following lines to the property list, replacing the blue placeholder text shown here with a unique bundle identifier for your application:

<key>CFBundleIdentifier</key>
<string>com.apple.AppleScript.WebpageHelper</string>
To identify the URL handler that triggers the applet, add the following item to the property list, replacing the blue text with title of your URL protocol and the URL scheme of your protocol:

<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLName</key>
<string>Webpage Helper</string>
<key>CFBundleURLSchemes</key>
<array>
<string>webpagehelper</string>
</array>
</dict>
</array>
applescript  links  url  osx  handler  protocol  scripting  html  forms  dialogs  automation  cli  shell  form  dialog 
december 2010 by michaelfox
hDOAP : An XHTML profile for DOAP
hDOAP is a microformat-like convention (i.e. a dialect of XHTML containing embedded data) used to express Description of a Project (DOAP) data in XHTML. This document describes and defines the hDOAP profile. GRDDL may be used to extract machine-readable data from the document.
Status

* 2008-08-09 - unchanged apart from rewording intro to make clear this is not an official microformat (because it wasn't produced by the microformats.org process. For some reason the XSLT is no longer working with W3C service, though is ok with xsltproc - @@TODO fix.
* 2005-05-29 - almost finished, some less common elements need adding to the stylesheets, minor bug (empty release is added)

@@TODO add references to relevant docs
Creating hDOAP Documents

There are (at least) two ways of creating a hDOAP document. The first is to use an HTML editor and include the attributes for CSS as structured in this sample : redland-doap.html (describes the Redland RDF Toolkit).

The second is to create a standard DOAP file and run it through the XSLT transformation described below. The DOAP-a-matic provides a very easy way of creating the DOAP.
semantic  uri  url  canonical  href  link  semantics  rdf  semanticweb  reference  webdev  seo  data  w3c  metadata  development  web  projects 
october 2010 by michaelfox
Highlight Microformats with CSS | The Hickensian | Hicksdesign
Those that use Firefox with the Tails extension, read no further. This is not for you. You have it given to you on a plate, you don’t know how lucky you are. This is for those of us using Camino, Safari or Omniweb.

After I mocked up an image of how Microformats detection might work in Safari, I started looking at the tools there were available. While there wasn’t anything that handled detection, Tantek did release his bookmarklets to allow hCard and hCalendar information to be exported from a page. Nothing in the region of Tails where you could view a list and choose which contacts/events you wanted, but it worked. This just left some way of handling detection, until I came across Chris Casciano’s script for NetNewsWire to Extract Microformats. It was a simple solution too – use css to style .vcard and .vevent classes differently.

So I’ve knocked up one of my own as a starting point. Here it is in action on Adactio, a rich harvest of microformats to be highlighted:

Example of the highlight microformats css in action

Here’s the file to download: expose-mf.css

It may work better with some designs than others. So far, I’ve not come
css  design  microformats  webstandards  semanticweb  http  semantic  uri  url  canonical  href  link  semantics  rdf  reference  architecture  webdev  seo  data  w3c  metadata  development  web  snippets 
october 2010 by michaelfox
cheat-sheet · Microformats Wiki
Microformats Wiki

* Blog
* Wiki
* Discuss

Search
cheat-sheet

(Redirected from cheatsheets)
Jump to: navigation, search

Brian Suda has made a PDF microformats "cheat-sheet" which you can download, free. An alternative cheat sheet is also available.

These cover:

* Address
o see adr-cheatsheet
* Geolocation
o see geo-cheatsheet
* hAtom
o see hatom-cheatsheet
* hCalendar
o see hcalendar-cheatsheet
* hCard
o see hcard-cheatsheet
* hResume
* hReview
* rel-directory
* rel-license
* rel-nofollow
* rel-tag
* VoteLinks
* XFN
* xFolk

and the datetime and include patterns.
Folding cheatsheet

Erin Caton has designed a pocket cheat sheet. Download the PDF, print double-sided and borderless, then fold it up.

Erin's cheatsheet covers hCard, hCalendar, hResume, hReview, hAtom, rel-license, rel-tag and XFN.

Here are some pictures of the folded cheatsheet.

Note issues, feedback, and suggestions on the pocket cheat sheet feedback page.
http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c  metadata  bookmarking  development  firefox  web  microsummary  microsummaries  cheatsheet 
october 2010 by michaelfox
resources · Microformats Wiki
microformats resources

* buttons
* cheatsheets are handy if you need a quick reminder about a particular microformat.
* css - some handy CSS code for improving your published microformats.
* demo - a page with links for quickly demonstrating microformats working in practice.
* events
* existing-classes
* existing-rel-values
* icons
* jobs
* RFCs used by microformats
* 2D Barcodes
* shortcuts to wiki pages with long names
* spell-check dictionary
* spread-microformats
* and finally, humor!

Retrieved from "http://microformats.org/wiki/resources"
http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c  metadata  bookmarking  development  firefox  web  microsummary  microsummaries 
october 2010 by michaelfox
XFN - XHTML Friends Network
Xhtml Friends Network

XFN™ (XHTML Friends Network) is a simple way to represent human relationships using hyperlinks. In recent years, blogs and blogrolls have become the fastest growing area of the Web. XFN enables web authors to indicate their relationship(s) to the people in their blogrolls simply by adding a 'rel' attribute to their <a href> tags, e.g.:

<a href="http://jeff.example.org" rel="friend met">...

To find out how to write and use XFN, or to write a program to generate or spider it, read the following sections:

Introduction and Examples
Introduction to XFN, examples, styling suggestions, and future potential.
Getting Started
Join the XHTML Friends Network in just four easy steps!
Profile
Version 1.1 of the XFN meta data profile: the list of the values used in XFN with their significance. See the XMDP home page for more information on XHTML Meta Data Profiles.
Background
The thinking that went into the design of XFN, why particular values were chosen, and why other values were left out.
FAQ
Frequently asked questions about XFN.
XFN Tools
A collection of tools, templates, editors, communities, and other resources that let you edit XFN information. Includes the XFN Creator, among many others.
XFN and ...
How to use XFN with numerous social network services and other technologies.
What's out there?
Pointers to pages and sites which use XFN, tools, ...
How can I help?
If you would like to support XFN...
Press
Articles about or that reference XFN...
Thanks
Thanks to all those who have helped XFN with their feedback, constructive criticisms, suggestions, and inspirational uses.
Feedback
Let us know what you think about XFN.
microformats  social  web  xhtml  html  html5  http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c  metadata  bookmarking  development  firefox  microsummary  microsummaries 
october 2010 by michaelfox
existing-classes · Microformats Wiki
Microformats Wiki

* Blog
* Wiki
* Discuss

Search
existing-classes

Jump to: navigation, search
Class Names Across All Microformats
http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c  metadata  bookmarking  development  firefox  web  microsummary  microsummaries 
october 2010 by michaelfox
Microsummaries - MozillaWiki
Microsummaries are regularly-updated short summaries of web pages. They are compact enough to fit in the space available to a bookmark label, they provide more useful information about pages than static page titles, and they get regularly updated as new information becomes available.

Here are examples of possible microsummaries for some common types of pages:
Type of Page Possible Microsummary
auction item Honda Accord - $5000 - 1 minute left
(item name, current highest bid, and time remaining)
product for sale Linksys WRT54G - $60 - in stock
(product name, current price, and availability)
news site BBC: Chirac to sign France's job law
(latest headline)
word of the day flat-hat
(today's word)
stock quote TWX: 16.94 + 0.30
(stock price and movement)
weather report SF: showers likely
(current forecast)
tinderbox 3 burning
(status of the tree)
forum thread my first thread - 37 comments - last by Aaron
(thread name, number of comments, and last commenter)
support ticket tn79217 - in progress - J.Doe - eta: 3hrs
(ticket number, status, owner, and ETA)
http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c  metadata  bookmarking  development  firefox  web  microsummary  microsummaries 
october 2010 by michaelfox
existing rel values · Microformats Wiki
Microformats Wiki

* Blog
* Wiki
* Discuss

Search
existing rel values

Jump to: navigation, search


This page contains tables of known HTML rel values from specifications, formats, proposals, brainstorms, and non-trivial POSH usage in the wild. In addition, dropped and rejected values are listed at the end for comprehensiveness.

usage: see how is 'rel' used. Regarding rev, see: should 'rev' even be used.
Contents
[hide]

* 1 formats
o 1.1 notes
* 2 proposals
* 3 brainstorming
o 3.1 more brainstorming
* 4 POSH usage
o 4.1 WCLR
* 5 non HTML rel values
* 6 dropped
* 7 rejected
* 8 unspecified
* 9 tools
* 10 related

formats

These rel values are defined formats from specifications (HTML 4, microformats) are thus are recommended for general use. Alphabetically ordered by value.

Note:
http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c  rel  rev  relation 
october 2010 by michaelfox
rel and rev attribute values, with counts of number of pages on which they occur, out of 127249 random text/html pages from dmoz.org
rel and rev attribute values, with counts of number of pages on which they occur, out of 127249 random text/html pages from dmoz.org downloaded on 2008-02-26: (UPDATE: Actually it looks like it's not just text/html pages, it includes others too. Oh well.)
rel  rev  http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  webdev  seo  data  w3c 
october 2010 by michaelfox
Cool URIs for the Semantic Web
The Resource Description Framework RDF allows users to describe both Web documents and concepts from the real world—people, organisations, topics, things—in a computer-processable way. Publishing such descriptions on the Web creates the Semantic Web. URIs (Uniform Resource Identifiers) are very important, providing both the core of the framework itself and the link between RDF and the Web. This document presents guidelines for their effective use. It discusses two strategies, called 303 URIs and hash URIs. It gives pointers to several Web sites that use these solutions, and briefly discusses why several other proposals have problems.
http  semantic  uri  webrest  url  canonical  href  link  semantics  rdf  semanticweb  reference  architecture  webdev  seo  data  w3c 
october 2010 by michaelfox
Commit afaf14304e55dac23b2f4c38b6c5f67a7ddb70c8 to paulirish's html5-boilerplate - GitHub
protocol independent absolute path for cdn jquery. better when page is on SSL

<!-- Javascript at the bottom for fast page loading -->

57 57



58 58

<!-- Grab Google CDN's jQuery. fall back to local if necessary -->

59

- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>

59

+ <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
http  https  ssl  url  protocol  html  tip  trick 
october 2010 by michaelfox
Embedly - API - Tools - Generator
Regular Expression Generator

This tool let's you generate a regular expression to check urls against before sending them to Embedly. Because we offer so many services, this tool lets you limit the services to only the ones you want.
url  regex  website  embed  domain  javascript  php  tools 
october 2010 by michaelfox
Codeigniter: Mixing segment-based URL with querystrings | Ask About PHP
Codeigniter, by default crafts it’s URL in a search engine friendly format. It uses a segment-based approach and does away with the all familiar querystring format that developers have been using for many years to pass parameters via the URL into their applications.

Codeigniter does allow you to turn on the querystring capability, but that would mean you have to use a pure querystring approach, foregoing the segment-based approached.

So, is it possible to mix segments and querystring?

Thankfully, Codeigniter can be configured to mix the segments and querystring, and all it takes are some tweaks in your application/config.php file and perhaps an additional line of code.
codeigniter  url  get  query  querystring  paramaters 
may 2010 by michaelfox
URL Decoder/Encoder
# Input a string of text and encode or decode it as you like.
# Handy for turning encoded JavaScript URLs from complete gibberish into readable gibberish.
# If you'd like to have the URL Decoder/Encoder for offline use, just view source and save to your hard drive.
tools  url  encode  decode 
april 2010 by michaelfox

related tags

*todo  /#!/  about  accessibility  address  addressbook  ajax  app  apple  applescript  architecture  ascii  automation  bbq  bestpractices  bookmarking  browser  cache  canonical  cheatsheet  chrome  class  clean  cli  codeigniter  collection  convert  crawler  crawling  css  curl  data  db  decode  deeplinking  delicious  design  development  dialog  dialogs  dom  domain  embed  encode  encoding  extension  facebook  files  finder  firefox  form  forms  fragment  generator  get  gist  google  googleanalytics  greasemonkey  handler  hash  history  href  html  html5  http  https  info  ios  iphone  javascript  jquery  json  launchbar  launcher  lib  library  link  links  mac  meta  metadata  microformats  microsummaries  microsummary  mozilla  mysql  noindex  osx  paramaters  params  parms  parseing  parser  parsing  paths  performance  php  plugin  projects  protocol  query  querystring  rdf  redirect  reference  regex  rel  relation  removal  replacestate  resources  rest  rev  router  routing  scraper  scraping  script  scripting  semantic  semantics  semanticweb  seo  service  shell  slug  snippets  social  ssl  suite  tip  title  tools  trick  tutorial  uri  url  urlremoval  urls  userscripts  utf8  UTI  utilities  utils  w3c  web  webdev  webmaster  webrest  website  webstandards  xhtml  xml  xul  zsh 

Copy this bookmark:



description:


tags: