<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Here is how JSword shows up in the HTTP logs:<div class="">The different lines represent different releases of JSword combined with different versions of Java.<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Apache-HttpClient/UNAVAILABLE (java 1.5)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Apache-HttpClient/UNAVAILABLE (java 1.4)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Jakarta Commons-HttpClient/3.1<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Apache-HttpClient/4.2.3 (java 1.5)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Jakarta Commons-HttpClient/3.0.1</div><div class="">These are ordered by frequency from the most frequent to the least. I’m looking to see if there are others.</div><div class=""><br class=""></div><div class="">Can we figure out which of these are AndBible code? BibleDesktop? AlKitab? STeP?</div><div class=""><br class=""></div><div class="">What’s with java 1.4 still being used?<br class=""></div><div class=""><br class=""></div><div class="">At a minimum I’d like this User Agent to also include the application name (E.g. RipOff XYZ), the code base (AndBible, BibleDesktop, AlKitab, STeP), the code base version number. And anything else that might be interesting.</div><div class=""><br class=""></div><div class="">Currently Xiphos and PocketSword identify themselves and include the version number.</div><div class=""><br class=""></div><div class="">— DM</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Jul 4, 2015, at 2:52 PM, DM Smith <<a href="mailto:dmsmith@crosswire.org" class="">dmsmith@crosswire.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I was hoping that an Android app can get the name of the application as displayed to the end user. And that it can be used. That way a ripoff would be identified as they typically change the name and add advertising.<div class=""><br class=""></div><div class="">— DM<br class=""><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 4, 2015, at 2:49 PM, Chris Burrell <<a href="mailto:christopher.burrell@gmail.com" class="">christopher.burrell@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="-ms-word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><div style="font-family: Calibri,sans-serif; font-size: 11pt;" class="">Don t rip offs take all if the same code? Unless you provide it at compile time, which just makes it slightly trickier to get to it, but ultimately it a still there... What were you thinking?</div></div><div dir="ltr" class=""><hr class=""><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;" class="">From: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;" class=""><a href="mailto:dmsmith@crosswire.org" class="">DM Smith</a></span><br class=""><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;" class="">Sent: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;" class="">04/07/2015 19:45</span><br class=""><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;" class="">To: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;" class=""><a href="mailto:chris@burrell.me.uk" class="">chris@burrell.me.uk</a>; <a href="mailto:jsword-devel@crosswire.org" class="">J-Sword Developers Mailing List</a></span><br class=""><span style="font-family: Calibri,sans-serif; font-size: 11pt; font-weight: bold;" class="">Subject: </span><span style="font-family: Calibri,sans-serif; font-size: 11pt;" class="">Re: [jsword-devel] HttpURLConnection - HttpClient</span><br class=""><br class=""></div>Regarding agent, I’d like to have it pick up the Application name, such that a rip-off’s replacement of AndBible will result in the ripoff’s name being in the agent string.<div class=""><br class=""></div><div class="">— DM</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 4, 2015, at 1:29 PM, Chris Burrell <<a href="mailto:chris@burrell.me.uk" class="">chris@burrell.me.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">With Java, I think you simply set the http.agent property at a System level.</div><div class=""><br class=""></div><div class="">We already have a CWProject.setFrontendName() that could be used to obtain the frontend's identity, though presumably that would be mostly empty.</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On 4 July 2015 at 17:41, DM Smith <span dir="ltr" class=""><<a href="mailto:dmsmith@crosswire.org" target="_blank" class="">dmsmith@crosswire.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;"><div style="-ms-word-wrap: break-word;" class="">If we can do it without disruption to desktop apps, i.e. non-Android, I’m fine with changing to something different. I’d be happy to test it in BibleDesktop.<div class="">Do you know if they have FTP support as well. I’m nearly done with adding SWORD style FTP support.</div><div class=""><br class=""></div><div class="">Also, I’d like to suggest that we figure out how to modify the User Agent of the request to indicate the application name. We’d like to quantify the downloads by app and perhaps the version of the app.</div><div class=""><br class=""><div class="">— DM</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On Jul 4, 2015, at 9:10 AM, Martin Denham <<a href="mailto:mjdenham@gmail.com" target="_blank" class="">mjdenham@gmail.com</a>> wrote:</div><br class=""></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class="">Does anybody have any thoughts or considerations regarding the use of HttpClient by JSword as opposed to the use of HttpURLConnection?<div class=""><br class=""></div><div class="">Recently I investigated the use of And Bible on Chrome using <a href="https://chrome.google.com/webstore/detail/arc-welder/emfinbmielocnlhgmfkkmkngdoccbadn" target="_blank" class="">ARC Welder</a> and discovered that Apache HttpClient is currently incompatible with Chromium (see <a href="https://code.google.com/p/chromium/issues/detail?id=384940" target="_blank" class="">issue</a>) . Then I also stumbled over this <a href="http://developer.android.com/training/basics/network-ops/connecting.html#http-client" target="_blank" class="">recommendation by Google</a> to use HttpURLConnection on Android rather than other http clients.</div><div class=""><br class=""></div><div class="">I realise Android is just one of many OSs that JSword runs on but wondered what thoughts people might have regarding the use of this library as opposed to HttpURLConnection.</div><div class=""><br class=""></div><div class="">Cheers<br class=""></div><div class="">Martin</div></div></div></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" target="_blank" class="">jsword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class=""></div></blockquote></div><br class=""></div></div></div><br class="">_______________________________________________<br class="">
jsword-devel mailing list<br class="">
<a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank" rel="noreferrer" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" class="">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></body></html>