Website Email Masking by Oric

Everything related to BASIC version 1.x (Oric 1 and Atmos) or HYPERBASIC (Telestrat).
Don't hesitate to give your small program samples, technical insights, or questions...
Post Reply
User avatar
TheSpider
Pilot Officer
Posts: 66
Joined: Sat Jan 07, 2006 8:17 am
Location: Lexington, Kentucky, USA (Ex-Elgin, Scotland)
Contact:

Website Email Masking by Oric

Post by TheSpider » Thu May 18, 2006 5:10 am

Hiya y'all,
Tried to post my article about the program I wrote for Website Email Masking using the Oric.
However, the HTML ASCII coding would not display on the forum, so I have made my post into a PDF, which may be found here....
http://oricspider.home.insightbb.com/so ... _EMASK.pdf
Peter (TheSpider) Paterson
A Scotsman in Kentucky
Believer in the Lord Jesus Christ

http://oricspider.home.insightbb.com

User avatar
TheSpider
Pilot Officer
Posts: 66
Joined: Sat Jan 07, 2006 8:17 am
Location: Lexington, Kentucky, USA (Ex-Elgin, Scotland)
Contact:

Post by TheSpider » Fri May 19, 2006 6:27 pm

Has anyone here tried and tested this program?
Would love to know how it worked for you, or indeed if it did not.
Let's communicate people!
Thanks.
Peter (TheSpider) Paterson
A Scotsman in Kentucky
Believer in the Lord Jesus Christ

http://oricspider.home.insightbb.com

romualdl
2nd Star Corporal
Posts: 31
Joined: Tue Jan 17, 2006 9:42 pm
Location: France

Post by romualdl » Sat May 20, 2006 9:20 pm

Hi there,

error message : website cannot be found...

A+
Romu

User avatar
TheSpider
Pilot Officer
Posts: 66
Joined: Sat Jan 07, 2006 8:17 am
Location: Lexington, Kentucky, USA (Ex-Elgin, Scotland)
Contact:

Post by TheSpider » Sun May 21, 2006 12:22 am

romualdl wrote:Hi there,
error message : website cannot be found...
A+
Romu
Hiya Romu,
Which website cannot be found?
If....

a) http://oricspider.home.insightbb.com/so ... _EMASK.pdf
then I know that works just fine.

b) the EMAIL address you entered to test with, then double check that the code is all together and not split by a wrap in the document.
That is the only bit that you have to be extremely careful about when putting the code into your web page.

C) Something that I am missing in your message?
Peter (TheSpider) Paterson
A Scotsman in Kentucky
Believer in the Lord Jesus Christ

http://oricspider.home.insightbb.com

romualdl
2nd Star Corporal
Posts: 31
Joined: Tue Jan 17, 2006 9:42 pm
Location: France

problem

Post by romualdl » Tue May 23, 2006 10:04 pm

hi,

When I click on your link I got a website not found or the like error message.


A+
Romu

User avatar
TheSpider
Pilot Officer
Posts: 66
Joined: Sat Jan 07, 2006 8:17 am
Location: Lexington, Kentucky, USA (Ex-Elgin, Scotland)
Contact:

Re: problem

Post by TheSpider » Wed May 24, 2006 2:36 am

romualdl wrote:hi,
When I click on your link I got a website not found or the like error message.
A+
Romu
Anyone else having problems with this link?
http://oricspider.home.insightbb.com/so ... _EMASK.pdf

Works great here.

Romu, have you tried right clicking and 'saving as'?

BTW, same info is found in a text version on the NG.
That is why I had to make a PDF for here.. the HTML ASCII codes would not display as just text on the forum.
Peter (TheSpider) Paterson
A Scotsman in Kentucky
Believer in the Lord Jesus Christ

http://oricspider.home.insightbb.com

User avatar
carlsson
Pilot Officer
Posts: 127
Joined: Thu Jan 12, 2006 11:26 pm
Location: Västerås, Sweden

Post by carlsson » Wed May 24, 2006 11:03 am

Works fine from here, Acrobat Reader starts up and document loaded on second attempt.
Hiya y'all,
Last night I wrote, and today debugged, a program for the Oric that generates masked email links for websites. Who says that Orics are not modern?

The program inputs 3 lines from the user...
1) Email Address
2) Subject Line
3) Displayed Text

It then generates HTML ASCII code for the Email & Subject lines, and places it all in a Javascript line.

The idea is NOT mine. It was a concept made up by an Amiga user friend of mine. Trouble is I forget which one!!! I took the code I generated for the email link on my Oric Website with the Amiga program, and backward generated it into an Oric BASIC program.
(see here: http://oricspider.home.insightbb.com)

The program may be downloaded here:
http://oricspider.home.insightbb.com/software/EMASK.TAP

When I say 'Oric', I should really say 'Euphoric' as the program takes the emulators ability to LPRINT to a file, to generate the code, and therefore make it useable on an internet based computer (Amiga, Mac, PC, etc).

Here is the result of some of my test data... Word wrap does mess up the code, so you may have to do some manual editing to make it look something like this...

orictest@atmos.net
Orics are Great
Email me here

<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"> <!--
document.write('<A HREF="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#111;&#114;
&#105;&#99;&#116;&#101;&#115;&#116;&#64;&#97;&#116;&#109;&#111;&#115;&#46;
&#110;&#101;&#116;&#63;&#83;&#85;&#66;&#74;&#69;&#67;&#84;&#61;&#79;&#114;
&#105;&#99;&#115;&#32;&#97;&#114;&#101;&#32;&#71;&#114;&#101;&#97;&#116;">Email me here</A>');
// --> </SCRIPT>

The real important part is to have 'document.write' on the start of a new line. The program intentionally does not have a ; after the LPRINT that finishes the line with '<!--'. Simply paste the code into a webpage, and you should have a secure masked email link.
The forum somehow captures &, < and > into entities, but the key was to encode # as &#35; all the way so the browser doesn't try to interpret the codes.
Anders Carlsson

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest