<p>Backwards compatibility maybe?</p>
<p>--<br>
There are 10 types of people in this world. Those who understand binary and those who do not.<br>
---<br>
David McClellan</p>
<div class="gmail_quote">On Jun 28, 2011 6:38 PM, "Greg Hellings" <<a href="mailto:greg.hellings@gmail.com">greg.hellings@gmail.com</a>> wrote:<br type="attribution">> I'm curious as to why you opted to make another new filter set that<br>
> was a copy of one, rather than just fixing the old one. What does<br>> keeping htmlhref the way it is gain?<br>> <br>> --Greg<br>> <br>> On Tuesday, June 28, 2011, Troy A. Griffitts <<a href="mailto:scribe@crosswire.org">scribe@crosswire.org</a>> wrote:<br>
>> As discussed, I've added a new Render filter set: FMT_XHTML<br>>><br>>> As usual, if you create your SWMgr asking for this Render output, you<br>>> will get the new markup:<br>>><br>>> SWMgr library(new MarkupFilterMgr(FMT_XHTML));<br>
>><br>>> SWModule *kjv = library.getModule("KJV");<br>>><br>>> kjv->setText("jn.3.16");<br>>> cout << kjv->RenderText();<br>>><br>>> but now you can also ask for any header information which might be<br>
>> available and useful:<br>>><br>>> cout << kjv->getRenderHeader();<br>>><br>>><br>>><br>>> examples/cmdline/lookup now will print any header information if it is<br>>> available.<br>
>><br>>><br>>> The FMT_WEBIF filter set is now based on the FMT_XHTML filters, so any<br>>> changes to the XHTML filters will also affect the WEBIF format.<br>>><br>>><br>>> I have only made very small changes to the FMT_XHTML filters after<br>
>> copying them from the FMT_HTMLHREF filter set.  It should be safe to<br>>> switch your render output to the new FMT_XHTML if you are currently<br>>> using the FMT_HTMLHREF render output.  The small changes should only<br>
>> involve divineName, words of Christ, and title, if I remember correctly.<br>>>  I believe title has changed to <h3>, word of Christ is <span<br>>> class="wordsOfJesus">, and divineName is <span class="divineName">.<br>
>><br>>><br>>> If you want the default styles, use the new getRenderHeader() method<br>>> which will give you basic styles for these classes.  Then override them<br>>> if you wish.<br>>><br>
>><br>>> Feel free to suggest classed XHTML markup for the rest of the untouched<br>>> tags or if you have access, update them yourself, but please be<br>>> considerate and try to supply a style in the header which keeps the<br>
>> current rendering.<br>>><br>>><br>>> Peter, the WEBIF format is a subclass of the most recent HTML output<br>>> filters with slight overrides for rendering notes and word as javascript<br>
>> clickable areas used in SWORDWEB (or any other Web Interface which wants<br>>> to use them).<br>>><br>>><br>>> We have now officially broken binary compatibility with 1.6.  If we need<br>>> to make a bugfix release to 1.6.2 then we will need to branch trunk.<br>
>><br>>><br>>><br>>> Hope this is goes somewhere,<br>>><br>>><br>>> Troy<br>>><br>>><br>>><br>>><br>>><br>>><br>>><br>>> On 28/06/11 09:23, Peter von Kaehne wrote:<br>
>>> On Mon, 2011-06-27 at 12:26 +0200, Troy A. Griffitts wrote:<br>>>>> As DM has suggested, I am all in favor of copying the current osis to<br>>>>> htmlhref filter (or actually copying and merging in the changes from<br>
>>>> webif filter) to osisxhtml<br>>>><br>>>> What is the webif filter about? I see it is has been there a while, but<br>>>> I have not really checked it out prior today. It clearly is similar to<br>
>>> osishtmlhref.<br>>>><br>>>>> and slowing changing markup to use classed<br>>>>> spans and providing a SWBuf OSISXHTML::getHeader(); method which would<br>>>>> supply a basic header to prepend to a display object when rendering.<br>
>>><br>>>> Sounds good.<br>>>><br>>>> Peter<br>>>><br>>>><br>>>> _______________________________________________<br>>>> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
>>> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>>>> Instructions to unsubscribe/change your settings at above page<br>>><br>
>> _______________________________________________<br>>> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>>> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
>> Instructions to unsubscribe/change your settings at above page<br>>><br>> <br>> _______________________________________________<br>> sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
> <a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>> Instructions to unsubscribe/change your settings at above page<br></div>