Jump to content

User Tools and References


Spotted Maniac

Recommended Posts

I am having some issues creating user tools with references. I have tried with HTML and plain text, various tags, quoting, etc but it does not work they way I think it should.

I believe an example would help. Here is the first line of the daily reading from accordance:

 

January 1: Genesis 1:1-2:25; Matthew 1:1-2:12; Psalm 1; Proverbs 1:1-6

 

So in this example:

 

"Genesis 1:1-2:25" actually links to Genesis 1:1-2

 

"Matthew 1:1-2:12" acutally links to Matthew 1:1-2

 

"Psalm 1" does not link at all

 

"Proverbs 1:1-6" links to Proverbs 1:1-6 (yay!)

 

So it seems the "auto reference finder" does not handle spanning chapters (at all?) so we only end up with two verses instead of a chapter plus some verses in the following chapter. Also it does not handle whole

chapter references well.

 

So is there any way I can change the text or html to make these work? If not would this be a bug and can it be fixed in future versions?

 

I figure since those exact references are used in other Accordance modules there is no reason why they should not function in user tools

 

P.S. I know I can manually fix this in the user tool but when importing large readings and such I need a way to do with that is not manual.

 

Thanks!

Brian

Link to comment
Share on other sites

Did you try using an en-dash (option -) instead of a dash for the chapter ranges?

Link to comment
Share on other sites

Did you try using an en-dash (option -) instead of a dash for the chapter ranges?

 

 

I have now but all it does is either leaves it the same or if I do it from some tools I get, for example, "Genesis 3:1

Link to comment
Share on other sites

January 1: Genesis 1:1-2:25; Matthew 1:1-2:12; Psalm 1; Proverbs 1:1-6

 

I copied this exact line here into a new user tool, highlighted the entire line of refs and clicked 'make link', an all of them are formatted correctly. I also tried it with an en-dash and it worked just the same. Not sure why you're experiencing this.

 

post-5629-127620859786_thumb.png

Link to comment
Share on other sites

I copied this exact line here into a new user tool, highlighted the entire line of refs and clicked 'make link', an all of them are formatted correctly. I also tried it with an en-dash and it worked just the same. Not sure why you're experiencing this.

 

post-5629-127620859786_thumb.png

 

P.S. I know I can manually fix this in the user tool but when importing large readings and such I need a way to do with that is not manual.

 

I know I can do it manually but what I need is for it to happen when I import the file. I really don't want to have to go and manually click "make link" on up to 1500 references.

Link to comment
Share on other sites

I know I can do it manually but what I need is for it to happen when I import the file. I really don't want to have to go and manually click "make link" on up to 1500 references.

 

Right, sorry. I'd have to try importing a similar file to see; I'm not as good with user tools as Helen or others. I'll let them chime in.

Link to comment
Share on other sites

Right, sorry. I'd have to try importing a similar file to see; I'm not as good with user tools as Helen or others. I'll let them chime in.

 

No Problem. :) Hopefully they have some ideas, I have tried quite a few things but most things just get ignored or displayed wrong.

 

Thanks!

B

Link to comment
Share on other sites

No Problem. :) Hopefully they have some ideas, I have tried quite a few things but most things just get ignored or displayed wrong.

 

Thanks!

B

 

Rick, Helen, Others? Any ideas? :)

 

B

Link to comment
Share on other sites

You are correct that it is not handling the references correctly when the range spans a chapter, nor when there is no verse. The latter may be impossible to fix, as it is the number-colon-number sequence that it looks for to identify a reference. The range across chapters could be fixed, but I don't know when that might happen.

Link to comment
Share on other sites

You are correct that it is not handling the references correctly when the range spans a chapter, nor when there is no verse. The latter may be impossible to fix, as it is the number-colon-number sequence that it looks for to identify a reference. The range across chapters could be fixed, but I don't know when that might happen.

 

 

One idea might be to add a custom tag to the HTML or require something surrounding the refs in text. Something like [[[Genesis 1]]] or [ref]Genesis 1[/ref]. Thanks for the response and I hope you guys can fit it into a future release!

 

B

 

 

P.S. Solid applescript support and the option for checkboxes and such in user tools would be great. Would allow people to mark off things they read or maybe quiz themselves, etc.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...