<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Just to add a few bits to this conversion.<br>
</p>
<p>I am sure each frontend is slightly different. In BibleCS you
are cutting and pasting from an RTF control, so assuming your os
paste facility and destination supports this, then you might get
rich markup. Same for other frontends which use and HTML widget
to display. Bishop's "Share" facility formats reasonably nicely
for sharing, including full verse reference and from which module
the verse was shared. SWORDWeb has long had a Facebook-specific
"Like" and "Share" option (upper right):</p>
<p><a class="moz-txt-link-freetext" href="http://crosswire.org/study/passagestudy.jsp?key=John.3.16">http://crosswire.org/study/passagestudy.jsp?key=John.3.16</a></p>
<p>It's fun to see which verses have a higher "like" count than
others (no, I have no idea how to ask Facebook to give me a list
of most liked verses).</p>
<p>Troy<br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 5/5/19 10:38 AM, David Haslam wrote:<br>
</div>
<blockquote type="cite"
cite="mid:pJkXmW0X7tPA18UdoluR4L_u1JdWu1_MzYqk_24LaPAm38NYboK85lCWU7EcRmII7PEnSZOjVYsIsw2I5au7LyMoPPCdrxtM70lPOLKVFdc=@protonmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div>The context is that when I’m posting to (eg) Facebook, all
text formatting is simply squished, even when what was pasted to
the clipboard had (eg) HTML styling. </div>
<div><br>
</div>
<div>AFAICT, only Facebook Notes permit some rudimentary text
styles and layout formats. </div>
<div><br>
</div>
<div>So the response by Michael Hart, interesting as it may be,
does not really address the issue in focus. </div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<div id="protonmail_mobile_signature_block">Sent from ProtonMail
Mobile</div>
<div><br>
</div>
<div><br>
</div>
On Sun, May 5, 2019 at 18:32, Michael H <<a
href="mailto:cmahte@gmail.com" class="" moz-do-not-send="true">cmahte@gmail.com</a>>
wrote:
<blockquote class="protonmail_quote" type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:garamond,serif;font-size:large">I like
the plan to improve copy functions over plain text. However,
it might be more feasible and productive to copy a (possibly
simplified) html snippet to the clipboard rather than
producing presentation glyphs that may or may not render in
many apps where fallback fonts may or may not be available.
<br>
<br>
That is, when I copy-paste a web page into Office, I have to
choose whether to import the formatted html, or just the
plain text. However, when I paste the same clipboard item
into a simple text editor, the formatted option isn't
present. A similar approach for sword front ends would fit
the user expectation of a rich copy, but also be more likely
to succeed in all cases. <br>
<br>
Is there already a sword front end that already has this
rich copy enabled (even for a subset of the allowable
markups?) </div>
<div class="gmail_default"
style="font-family:garamond,serif;font-size:large"><br>
(And related to the implied reason why this capability is
missing:) <br>
<br>
In addition to improving the functionality of the text
rendering for copy/paste, the configuration files should
probably be improved to include a "copy-allowed" item (and
"print-allowed" if/where applicable.) That is, be able to
restrict the copy function when the license provided doesn't
include even limited copying. This will help to undo the
risk of pass-through copying en-mass. </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, May 5, 2019 at 11:00
AM David Haslam <<a href="mailto:dfhdfh@protonmail.com"
moz-do-not-send="true">dfhdfh@protonmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div>When pasting a Bible passage from the clipboard to
Social media, text styles are usually squished.</div>
<div><br>
</div>
<div>This often means that superscripted verse tags just
become ordinary numbers.</div>
<div>Some front-ends even leave no space between the verse
tag and the start of verse text.</div>
<div>The result in social media is a tad ugly. </div>
<div><br>
</div>
<div>Surely we could do better?</div>
<div><br>
</div>
<div>One bright idea implemented externally by one of our
members is simple enough for us to consider adding as a
new filter in the SWORD API.</div>
<div><br>
</div>
<div>Convert verse number digits to Unicode superscript
digits, ⁰¹²³⁴⁵⁶⁷⁸⁹</div>
<div><br>
</div>
<div>NB. These special 10 characters are not in a continuous
block.</div>
<div><br>
</div>
<div>How front-ends might include the filter such that
copying a passage to the clipboard would automatically
make use of these special characters is yet to be
determined, but if the idea is not yet discussed, we’ll
not make any progress.</div>
<div><br>
</div>
<div>Aside: I made my own TextPipe filter to convert digits
to these special characters.</div>
<div>I included a restriction to avoid converting chapter
numbers. </div>
<div>I did not yet consider what to do about digits that are
part of verse text (such as 144,000).</div>
<div><br>
</div>
<div>Even so, how do software developers feel about the
concept ?</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>David</div>
<div><br>
</div>
<div
id="gmail-m_7904712694676370054gmail-m_3224890901143450952protonmail_mobile_signature_block">Sent
from ProtonMail Mobile</div>
_______________________________________________<br>
sword-devel mailing list: <a
href="mailto:sword-devel@crosswire.org"
moz-do-not-send="true">sword-devel@crosswire.org</a><br>
<a
href="http://www.crosswire.org/mailman/listinfo/sword-devel"
rel="noreferrer" moz-do-not-send="true">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above
page</blockquote>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
sword-devel mailing list: <a class="moz-txt-link-abbreviated" href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a>
<a class="moz-txt-link-freetext" href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a>
Instructions to unsubscribe/change your settings at above page</pre>
</blockquote>
</body>
</html>