]> Something Witty Goes Here

codedread

Archive for October, 2007

FXPointer - Link Exactly

Tuesday, October 30th, 2007

How many times have you told a friend or colleague “Go to http://example.com/some/doc and search for XXXX” ? I do it a lot actually. Ideally web pages should identify significant sections of a web page with identifiers (id=”foo”) so that you can link to http://example.com/some/doc/#foo, but the problem is that not everyone follows this practice. In fact, there are a lot of big specification documents where you’d like to point someone to a specific paragraph to save someone time and encourage them to actually visit the link and read it. This becomes increasingly important as the mobile web accelerates and small screens with harder-to-use keyboards become more prevalent. I hope this Firefox extension will help. Click To Read More...

Linking To An Arbitrary Section Of A Web Page

Tuesday, October 9th, 2007

Today I wanted to send a link to a specific location in this web page. If you’re curious, go to the link and search in the page for “square bracket notation”. Unfortunately, the web page does not identify that section in the source. Is there any way to do this with today’s modern browsers (Firefox, Opera, Safari)?

What I’m looking for is something like SVG Fragment Identifiers where you can use XPointer syntax in the URL to navigate to a specific section of a document. Before I spend time learning XPointer syntax, can anyone tell me if any HTML browsers support it as fragments in the URLs?

Another option is to link to a cached page from a specific Google Search, but it still requires the user to scroll down to the highlighted section. It’s a shame that Google doesn’t insert specific anchors into the web page for this very purpose. It might make some web authors angry that Google mucks about with their source, but this is a case where I don’t mind - authors should learn to properly identify portions of their documents. This becomes increasingly important for mobile devices with those smaller screens.

Re-Sourcing Environment Variables in Windows

Wednesday, October 3rd, 2007

I added some Environment Variables to my Windows operating system recently (right-click on My Computer, Properties, Advanced, Environment Variables). I was wondering if there is any way from an existing Command Prompt to pick those up. I know that all Command Prompt instances after this point will have those new environment variables defined, but I was just curious if there was an easy way to get an existing Command Prompt instance to “re-source” its environment variables.

On the other hand, is there any way to add a System Environment Variable to Windows from the command prompt?

codedread codedread