You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

jpdeglet69

Intermediate

  • "jpdeglet69" started this thread

Posts: 191

Location: France

Occupation: VR Maker and Document Management Expert

  • Send private message

1

Monday, March 28th 2011, 5:31am

XMAIL Plugin

Hello,

Because of problem when using mailto link under Mac OS with French accented characters,
I wrote a small plugin to format and send correct email.
So,
- Depending of Client Operating System (Windows/Mac/Linux...) this plugin supports or converts UTF-8 Accented Characters in the subject and in the body of the email.

To use UTF-8 Accented Characters in KrPano variables (or textfields) with my XMail.swf,
- Use Hexadecimal notation from %nn,
or
- HTML notation & #nnnn; ( but some browser/email client could lead errors due to their internal code page).

Multi-line texts ( [br] KRPano break tag) are translated:
- In Subject, all [br] are replaced by space (%20)
- In Body, all [br] are replaced by %0D%0A ( hexadecimal sequence: CRLF)

FYE ;-) :
Here the web presentation page with ZIP files and demo
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://vr-guide.online

This post has been edited 18 times, last edit by "jpdeglet69" (Apr 5th 2011, 8:56am)


jpdeglet69

Intermediate

  • "jpdeglet69" started this thread

Posts: 191

Location: France

Occupation: VR Maker and Document Management Expert

  • Send private message

2

Tuesday, March 29th 2011, 11:11am

Hello,

Some XMail.swf tests results :

When Extended Characters are written with HTML notation (&#nnn;)
- Rendering OK (no difference between KRPano view and eMail content)
>> Safari, Chrome - Outlook
- Rendering Not OK (difference between KRPano view and eMail content)
>> I.E. 7.x/8.x - Outlook

When Extended Characters are written with Hexadecimal notation (%nn)
- Rendering OK
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://vr-guide.online

This post has been edited 5 times, last edit by "jpdeglet69" (Mar 30th 2011, 9:01am)


Zephyr

Professional

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

3

Tuesday, March 29th 2011, 4:36pm

Thanks for sharing :)
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

jpdeglet69

Intermediate

  • "jpdeglet69" started this thread

Posts: 191

Location: France

Occupation: VR Maker and Document Management Expert

  • Send private message

4

Tuesday, April 12th 2011, 10:47pm

Hi,

Last update : version 1.5a
- to correct Linux detection (tested on tablet phone Dell Streak and Mandriva Laptop)
- to correct "th" old characters translation (very very important of course!!!)
- to delete tab, cr, lf of xml source texts used for email.
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://vr-guide.online

5

Friday, June 3rd 2011, 2:39pm

Please I made a download from Krpano plugin and I cant make it work
On the example in the KRpano web works OK, but with the file that have downloaded dont work
When I click emil show only (to: )
Dont show subject, c/c , body anything
Please What I have to do.
Thank you



title="This multi line title will be used[br]
in the Subject of the eMail%2C[br]
without any break!!!"

body="Here a multi line text with Hexa and HTML Extended Characters...[br]
Hexa:%C0,%C1,%C2,%C3,%C4,%C5,%C6-HTML:À,Á,Â,Ã,Ä,Å,Æ[br]
Hexa:%E0,%E1,%E2,%E3,%E4,%E5,%E6-HTML:à,á,â,ã,ä,å,æ[br]
Hexa:%C8,%C9,%CA,%CB-HTML:È,É,Ê,Ë[br]
Hexa:%E8,%E9,%EA,%EB-HTML:è,é,ê,ë[br]
Hexa:%CC,%CD,%CE,%CF-HTML:Ì,Í,Î,Ï[br]
Hexa:%EC,%ED,%EE,%EF-HTML:ì,í,î,ï[br]
Hexa:%D2,%D3,%D4,%D5,%D6,%8C-HTML:Ò,Ó,Ô,Õ,Ö,Œ[br]
Hexa:%F2,%F3,%F4,%F5,%F6,%9C-HTML:ò,ó,ô,õ,ö,œ[br]
Hexa:%D9,%DA,%DB,%DC-HTML:Ù,Ú,Û,Ü[br]
Hexa:%F9,%FA,%FB,%FC-HTML:ù,ú,û,ü[br]
Hexa:%9F,%DD-HTML:Ÿ,Ý[br]
Hexa:%FD,%FF-HTML:ý,ÿ[br]
Hexa:%C7,%D0,%D1,%D7,%D8,%DE,%DF,%E7,%F0,%F1,%F7,%F8,%FE
-HTML:Ç,Ð,Ñ,×,Ø,Þ,ß,ç,ð,ñ,÷,ø,þ[br]
Hexa:%7E,%A2,%A3,%A5,%A7,%A9,%AB,%AE,%B5,%BB,%BC,%BD,%BE
-HTML:~,¢,£,¥,§,©,«,®,µ,»,¼,½,¾[br]
HTML:Š,š,“,”,…,€,™[br]
...to send in the body of the eMail WITH ALL breaks!!!"
/>


font="Arial" fontsize="12" bold="true" italic="true"
origin="cursor" edge="bottom" xoffset="0" yoffset="-5"
background="false"
border="false"
textcolor="0xff9900"
textalign="center"
alpha="1.0" blendmode="layer"
effect="glow(0xFFFFFF,0.2,2,2);dropshadow(4,40,0x000000,4,1);"
/>

url="xmail.swf"
to="to_name@domain"
cc="cc_namec@domain"
subject="text subject"
body="text body"
forceascii="_Linux_MacOS_"
forcespace="true"
email="built email"
error="error"
/>



url="btn_email.png" x="40" y="10"
onhover="showtext(eMail);"
onout="set(blendmode, screen);"
onover="set(blendmode,add));"
onclick="
copy(plugin[xmail].subject,panotxt.title);
copy(plugin[xmail].body,panotxt.body);
set(plugin[xmail].forceascii, '_Linux_MacOS_');
plugin[xmail].send();
showresult();"
/>



trace('OS : ', get(plugin[xmail].full_os), ' - ', get(plugin[xmail].short_os));
trace('eMail: ', get(plugin[xmail].email));
trace('Error: ', get(plugin[xmail].error));
</action>
</plugin></plugin>

jpdeglet69

Intermediate

  • "jpdeglet69" started this thread

Posts: 191

Location: France

Occupation: VR Maker and Document Management Expert

  • Send private message

6

Thursday, June 9th 2011, 8:59am

Hello Net360

This plugin works in Local mode, only if you use a web server
or online site of course !!!

;-)
Best regards,
JPhD
VR-Guide®/Eleana CEO
https://vr-guide.online

7

Friday, June 10th 2011, 2:16am

Ok I will try it on the localhost
Thank you