gpg: failed to create temporary file '/var/lib/lurker/.#lk0x56e57100.hantslug.org.uk.26301': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Mar 14 14:21:53 2011 GMT
gpg: using DSA key 2099B64CBF15490B
gpg: Can't check signature: No public key
Hello,
On Sun, Mar 13, 2011 at 05:16:42PM +0000, john lewis wrote:
> <a href="mailto:BarbaraMallyon@lewmal.co.uk">Barbara Mallyon</a>
>
> I don't know what software was used to set it up, probably some windows
> based gui website design tool.
>
> Does anyone have a clue as to how I can decode the page so I can edit?
> it. The original webmaster is unavailable for the moment so cannot ask
> what software he used.
John asked me off-list how to add a new entry. It wasn't immediately
obvious to me that he'd asked this originally, but now I read again
I suppose "so I can edit" implies needing to go the other way too.
I'd do something like piping what I wanted to encode through:
perl -MHTML::Entities -ne 'print HTML::Entities::encode_entities_numeric($_, "\x0-\xfff"), "\n"'
e.g.:
$ echo -n '
mailto:andy@bitfolk.com' | perl -MHTML::Entities -ne 'print HTML::Entities::encode_entities_numeric($_, "\x0-\xfff"), "\n"'
mailto:andy@bitfolk.com
$ echo -n 'Andy Smith' | perl -MHTML::Entities -ne 'print HTML::Entities::encode_entities_numeric($_, "\x0-\xfff"), "\n"'
Andy Smith
If you're using vi/vim as an editor you can replace text with the
output of a command, so if you had a line like so:
mailto:andy@bitfolk.com
Then going to the start of the line and typing:
!$perl -MHTML::Entities -ne 'print HTML::Entities::encode_entities_numeric($_, "\x0-\xfff")'
would replace the line with
mailto:andy@bitfolk.com

(note you get an unwanted "
" on the end because it converted
the newline as well)
Perhaps that would be useful in not disturbing your editing flow.
If you don't do this sort of thing a lot then you could just search
the web for any of what must be thousands of online "convert to
numeric html entities" web forms, e.g.:
http://www.texaswebdevelopers.com/examples/xmlentities/xml_entities.asp
Cheers,
Andy
--
<Ging> i stopped taking my medication long ago. the ironey is it was for
social anxioty disorder and now i daren't go back to the doctor to get
another perscription