September 7, 2018 at 3:49 am #24774
What is the difference between smart quotes and ASCII “ ? Is it basically the difference between single and double quotes? Asciii 34 and 39 ?
I looked in the help files and searched for smart quotes and didn’t find a match…
Charles.September 11, 2018 at 2:13 pm #24775
Look at your last post, and ASCII “
Note the curvy smart quotes that the forum substitutes.
They are ascii 93
I did not spot them immediately, but the compiler did.
ClaySeptember 12, 2018 at 12:04 am #24776
Depending on how hurricane Florence hits North Carolina, I might be offline for a while.
Anyway – the compiler works fine if I change from double to single quotes.
And I have MEW > Tools > customize > Editing – Default Editing Font = Ansi courior New 9pt.
Could this be set wrong?September 12, 2018 at 3:12 pm #24777
That is a fine setting. I run into the quote problem a lot when I paste text from a customer’s email into their HTML page. When I check online all these black diamonds with a ? show up. They are characters that are not in the ascii base set, like the smart quotes.September 26, 2018 at 5:02 am #24794
I have uploaded a sample conversation from Facebook to my onedrive Mew folder I posted earlier, and is repeated here:
the file is messages.html.
I’d like to get a mew macro to reverse the chat log so most recent appears at the bottom – not the top.
Any help is greatly appreciated….
I guess first is to find out what the HTML markup is to denote the end of one person’s chatting and then the start of the next person…..September 26, 2018 at 2:50 pm #24795
Looked over the HTML. I don’t see any way to isolate text from html tags. Maybe you can put into word document (not as html but as result) then use word’s features to reorder. Alternatively you can download into firefox. Then grab the text and paste into ME. At this point you would need a sophisticated Regexp to locate and isolate the date/time lines and use that to isolate the messages. If you play with that idea you can reuse the other macro with different search criteria (dates instead of =======)
ClaySeptember 27, 2018 at 3:42 am #24796
======= messages.html ======
1) copy verbatim up to and including:
<div class=”_4t5n” role=”main”>
this is the preface/header
2) each conversation starts with
<div class=”pam _3-95 _2pi0 _2lej uiBoxWhite noborder”>
3) the footer starts with
4) just need to copy in reverse order blocks of #2……. like in the eH chat macro earlier in this thread
5) I have placed message – copy.html in my one drive – difference being just
replacing “><” with “>$<” so each html markup appears on a seperate line….
You must be logged in to reply to this topic.