How do I get Bible text in this specific format?

I am trying to get the text of a passage from the API in the following format:
"[VerseText]"%20([FullPassageRef])
Here is what I've tried so far:
- Using style=quotation gets very close to what I would like, but I'd like to remove the version from the citation.
- Using this with the eachVerse="[VerseText]"%20([FullPassageRef]) doesn't work because that results in the reference being interspersed throughout the text of the passage (following each verse).
- I tried using header="[VerseText]"%20([FullPassageRef])&eachVerse=%20, but that just returns "[VerseText]" (Psalm 23:1–6) (i.e. without the VerseText expanded).
- The closest I've been able to get to what I actually want is to use header="&footer="%20([FullPassageRef]), and plan on removing the new lines with some post-processing (passages like Psalm 23 would also need some additional post-processing to make sure the tabs at the beginning of each line were being removed).
In summary, options #1 and #4 seem like the best options so far, but they require some post-processing, which I'd like to avoid, if possible. Is it possible to do what I want to do without post-processing?
Comments
-
Tim Lewis said:
Using style=quotation gets very close to what I would like, but I'd like to remove the version from the citation.
I'm in pretty deep water pretty fast with what you're doing, but I noticed the style names match the "copy bible verses" tool in the desktop application and the syntax looks the same. On the desktop you can create a custom format. When you click to add a format, the currently active format will populate the syntax which you can then edit, so my thought was to start with "quotation" and simply remove the [version].
Please note that though I've created a number of new styles using this method, when I try to delete "version" it is currently crashing.
0 -
First, let me mention that I don't own the Logos software. I'm just trying to use their API to import the text of Bible verses into a Google Doc.
For that reason, it is somewhat surprising to me to see that the syntax for the Quotation style is using the Header and Footer to prepend and append the custom text to the verse. When I do that, the header and footer end up on separate lines from the body.
Currently, I'm just getting the Quotation style and removing everything between the comma and the closing parenthesis programmatically, but I may end up switching to that method (which is essentially described by option #4 described above) since it seems a little more robust.
0