This page proposes a new website standard. Basically, a website can define a bunch of ways that you can interact with it. So if you make a request to http://www.example.com/wiji.txt [1], they will get a file that defines a bunch of interaction methods.
The following are the only uses of WIJI that are supposed to be at all standardised at the moment.
{
"Name" : "Google",
"BaseURL" : "http:\/\/www.google.com\/",
"Locations" : [
{
"TargetType" : "SiteMap",
"SiteType" : "SiteMap",
"Submission" : {
"URL" : "webmasters\/tools\/ping?",
"Parameters" : [
{
"Name" : "sitemap",
"Type" : "SiteMapURL"
}
]
},
"Verification" : {
"URL" : ""
}
},
{
"TargetType" : "Page",
"SiteType" : "Bookmark",
"Submission" : {
"URL" : "bookmarks\/mark?",
"Parameters" : [
{
"Name" : "op",
"Type" : "Value",
"Value" : "add"
},
{
"Name" : "bkmk",
"Type" : "PageURL"
},
{
"Name" : "title",
"Type" : "PageTitle"
}
]
},
"Image" : "google.png",
"Description" : "Bookmark this page on Google"
}
],
"Recognisers" : [
{
"UserAgent" : "Google"
}
]
}
The first section is for sitemap submissions. The verification information is, as far as I can tell at the moment, not available from Google via a URL at the moment; additionally, the URL it's available from is probably behind authentication, so that's something we'd have to worry about at some point.
Another example; this is a specification of the defaults.
{
"Name" : "A website",
"BaseURL" : "http://www.example.com/",
"Locations" : [
{
"TargetType" : "SiteMap",
"SiteType" : "SiteMap",
"Submission" : {
"URL" : "ping?",
"Parameter" : {
"Name" : "sitemap",
"Type" : "SiteMapURL",
}
},
},
{
"TargetType" : "Page",
"SiteType" : "Bookmark",
"Submission" : {
"URL" : "bookmarks/mark?",
"Parameter" : {
"Name" : "url",
"Type" : "PageURL",
},
"Parameter" : {
"Name" : "title",
"Type" : "PageTitle",
},
}
"Image" : "favicon.ico",
"Description" : "<SiteType> this <TargetType> on <Name>",
}
],
Recognisers => [
{
"UserAgent" : "Google"
}
]
}
The software will only need to recognise the outline, pick out the bits it wants, and fill in a few parameters.
Each location has the following attributes:
The valid parameter types are:
If a URL starts with alphabetic characters followed by a colon, it's assumed to be absolute, otherwise it's assumed to be relative to the base URL.
The places to look for a wiji file are (in order):
That's right, it defaults through to wiji.jdarx.info. This will hopefully only be a temporary step until other companies have implemented this standard. I only intend to implement this for a few of the larger companies.
Sites that this site has wiji files for: http://wiji.jdarx.info/htmlfiles/WIJI/ [4]
I'd love to have someone like the W3C or the IETF come and take this off my hands.
Links:
[1] http://www.example.com/wiji.txt
[2] http://www.example.com/wiji.txt
[3] http://wiji.jdarx.info/htmlfiles/WIJI/example.com/wiji.php
[4] http://wiji.jdarx.info/htmlfiles/WIJI/