Lectionary fields for PB

Wyn Laidig
Wyn Laidig Member Posts: 401 ✭✭
edited November 20 in English Forum

Is there a list of lectionary fields along with the output they are supposed to produce?  From the limited help page I found, I know there are supposed to be "date" and "season" fields:

{{field-on:date}}Some Date{{field-off:date}} -- {{field-on:season}}The season{{field-off:season}}

However I have not been able to get these fields to produce any results.  A year or two ago I made a lectionary and had the season field working, but apparently things no longer work the same, as the identical file no longer produces the identical results.

The other thing I would like to do is be able to have a Note or Comment appear prior to the scripture reading references.  For example, when I have the Revised Common Lectionary selected (See below), my home page shows "Old Testament, Psalm, New Testament, and Gospel" prior to the selected readings.  What field do I use to reproduce this kind of result?

Comments

  • Wyn Laidig
    Wyn Laidig Member Posts: 401 ✭✭

    Logos is no longer processing the Lectionary fields for display on the homepage like it used to.  I ran Louis St Hilaire's test lectionary code which used the date and season fields:

    [[@YearMonthDay:September 8, 2015]]

    {{field-on:date}}TUESDAY, SEPTEMBER 8, 2015{{field-off:date}} | {{field-on:season}}EASTER{{field-off:season}}

    {{field-on:day}}TUESDAY OF THE THIRD WEEK OF EASTER{{field-off:day}}

    {{field-on:year}}YEARS 1 & 2{{field-off:year}}.

    The season "EASTER" used to be displayed on the homepage like this:

    But now the season field is nowhere to be found:

    It would be nice if the season functionality were added back.

    ALSO I really would like to know how to get other text labels to appear on the home page, such as the labels "Old Testament", "Psalm", "New Testament", and "Gospel" in the Revised Common Lectionary in my above post.

    Any help would be greatly appreciated.

  • Louis St. Hilaire
    Louis St. Hilaire Member, Logos Employee Posts: 513

    As of Logos 6, the liturgical season is no longer displayed in the lectionary home page feature. (I don't recall at the moment if this was by design or an oversight. I'll look into it.)

    To get the readings to show up with reading titles as they do in the Logos-built lectionaries, you have to use the label data type rather than fields:

    [[@YearMonthDay:September 8, 2015]]
    {{field-on:date}}TUESDAY, APRIL 24, 2012{{field-off:date}} | {{field-on:season}}EASTER{{field-off:season}}
    {{field-on:day}}TUESDAY OF THE THIRD WEEK OF EASTER{{field-off:day}}
    {{field-on:year}}YEARS 1 & 2{{field-off:year}}

                  [[First Reading >> Label:Lectionary Reading{Title:'First Reading'; References:`Bible:Acts 7:51–8:1a`}]]       Acts 7:51–8:1a
                  [[Response >> Label:Lectionary Reading {Title: 'Response'; References:`Bible:Psalm 31:6a`}]]       Psalm 31:6a
                  [[Psalm >> Label:Lectionary Reading{Title: 'Psalm'; References:`Bible: Psalm 31:3c–4`, `Bible:Psalm 31:6`, `Bible:Psalm 31:7b`, `Bible:Psalm 31:8a`, `Bible:Psalm 31:17`, `Bible:Psalm 31:21ab`}]]       Psalm 31:3c–4, 6, 7b, 8a, 17, 21ab
                  [[Gospel Acclamation >> Label:Lectionary Reading{Title: 'Gospel Acclamation'; References:`Bible: John 6:35ab`}]]       John 6:35ab
                  [[Gospel  >> Label:Lectionary Reading{Title: 'Gospel'; References:`Bible:John 6:30–35`}]]       John 6:30–35

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    To get the readings to show up with reading titles as they do in the Logos-built lectionaries, you have to use the label data type rather than fields:

    Since when have we been able to specify labels in personal books?

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Wyn Laidig
    Wyn Laidig Member Posts: 401 ✭✭

    I don't recall at the moment if this was by design or an oversight. I'll look into it.

    Many thanks... Please let me know.  It would be nice if the Seasons could be added back to the homepage.

    you have to use the label data type rather than fields:

    This is VERY helpful to know.  It looks like there are only a limited number of predefined labels that are recognized. I was able to find these: First Reading, Second Reading, Old Testament, New Testament, Gospel, Epistle, Psalm, Proverb, Response, and Gospel Acclamation.  Is it possible to allow for additional user-defined labels?  For example I would like: Torah, Haftarah, Apostolic, and Hebraic.  It would be wonderful if users could define the labels that they want for their customized lectionaries.

  • Dave Hooton
    Dave Hooton MVP Posts: 35,770

      [[First Reading >> Label:Lectionary Reading{Title:'First Reading'; References:`Bible:Acts 7:51–8:1a`}]]   

    Louis

    Can you outline the full syntax relationship as it should be documented in the Lectionary wiki. i.e. how to create a label in a PB.

    Dave
    ===

    Windows 11 & Android 13

  • Don Awalt
    Don Awalt Member Posts: 3,521 ✭✭✭

    I use this syntax because I have a devotional resource (O Antiphons) I use every year Dec 17-24, so a given day looks like this:

    [[@dayofyear.12.17]]

    I prioritize it first among my devotionals, it's quiet all year then pops up on my Home Page on Dec. 17!

    Hopefully that syntax still works, I started using it in 2013 I believe.

  • Wyn Laidig
    Wyn Laidig Member Posts: 401 ✭✭

    [[First Reading >> Label:Lectionary Reading{Title:'First Reading'; References:`Bible:Acts 7:51–8:1a`}]] 

    CAUTION - if you use the wrong type of single quotes on the Title, such as the following incorrect line of code:

    [[First Reading >> Label:Lectionary Reading{Title:`First Reading`; References:`Bible:Acts 7:51–8:1a`}]]

    This causes a FATAL CRASH in Logos everytime you try to go to the homepage (if the lectionary is set to display on the home page).

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    how to create a label in a PB

    I'm sure this has never been possible before. I actually asked for the functionality only last month, and Bradley replied saying there was a case open for it — but there's been nothing in the beta release notes that I've seen.

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!

  • Wyn Laidig
    Wyn Laidig Member Posts: 401 ✭✭

    I must have done something wrong, because IT IS POSSIBLE to have any label you want.  This works great.  Below is my test lectionary as seen on the homepage:

    And here is how the text of the resource appears:

    Here is the file with the lines of code:

    7652.Sabbath Readings.docx

  • Dave Hooton
    Dave Hooton MVP Posts: 35,770

    Don Awalt said:

    [[@dayofyear.12.17]]

    I prioritize it first among my devotionals, it's quiet all year then pops up on my Home Page on Dec. 17!

    Hopefully that syntax still works, I started using it in 2013 I believe.

    I believe it should be [[@DayOfYear:December 17]] or [[@DayOfYear:Dec 17]]  

    Dave
    ===

    Windows 11 & Android 13

  • Don Awalt
    Don Awalt Member Posts: 3,521 ✭✭✭

    Unless it has changed in the last year [[@dayofyear.12.17]] worked in 2013 and 2014...

  • Dave Hooton
    Dave Hooton MVP Posts: 35,770

    Don Awalt said:

    Unless it has changed in the last year [[@dayofyear.12.17]] worked in 2013 and 2014...

    That might be internal/deprecated. The  PB wiki shows the format consistent with other milestones.

    Dave
    ===

    Windows 11 & Android 13

  • Mark Barnes
    Mark Barnes Member Posts: 15,432 ✭✭✭

    That might be internal/deprecated. The  PB wiki shows the format consistent with other milestones.

    Many datatypes have two different formats - one internal, and one more user-friendly. For example, you can use [[@Bible:John 3:16]] or [[@bible.64.3.16]]

    This is my personal Faithlife account. On 1 March 2022, I started working for Faithlife, and have a new 'official' user account. Posts on this account shouldn't be taken as official Faithlife views!