Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scripts/bibSplit.pl
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ sub sanitize_text {

my $urlSource = defined $obj->{url} ? $obj->{url} : '';

# Some/most/all of these *may* need sanitize_text
# Modified date
my $dateModified = defined $obj->{dateModified} ? $obj->{dateModified} : '';

# optional fields - ones used vary by value of type
my $applicationNumber = defined $obj->{applicationNumber} ? qq{"$obj->{applicationNumber}"} : '""';
my $assignee = defined $obj->{assignee} ? qq{"$obj->{assignees}"} : '""';
Expand Down Expand Up @@ -185,6 +187,9 @@ sub sanitize_text {
tags:
url_source: $urlSource
zotero_url: "https://www.zotero.org/groups/2914042/items/$key"

# Timestamp of last modification to bibliographic item
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the perl comment skipped in hugo as well.
I'm pretty sure that perl doesn't skip comments in the "here doc" string.

Copy link
Member Author

@stumbo stumbo Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes - the comment flows into the markdown file and when Hugo processes it, it is ignored.

Here's what the yml header looks like in a file:

---
title: |
  Lisp Editing in the 80s - Interlisp SEdit

date: 2017-06-22
readabledate: 2017-06-22
type: bibliography
item_type: motion_picture
authors: 
editors: 
abstract: |
  Reuploaded from: 
  http://people.csail.mit.edu/riastradh...
  
  Thanks to "lispm" on reddit for all the info: 
  https://www.reddit.com/r/lisp/comment...
  
  From what I understand SEdit was developed later than DEdit. SEdit is documented first in the 1987 Lyric release of Interlisp-D, see Appendix B:
  http://bitsavers.trailing-edge.com/pd...
  SEdit is expanded in the virtual machine version of Interlisp-D, called Medley. See the Medley 1.0 release notes, appendix B:
  http://bitsavers.trailing-edge.com/pd...
  Some hints for using SEdit
  http://bitsavers.trailing-edge.com/pd...
  If you want to try it out, maybe this contains the editors:
  http://www2.parc.com/isl/groups/nltt/...


studio: "thoughtupquick"
video_recording_format: ""
series_title: ""
volume: ""
number_of_volumes: ""

tags:
url_source: https://www.youtube.com/watch?v=2qsmF8HHskg
zotero_url: "https://www.zotero.org/groups/2914042/items/4CCTNX5G"

# Timestamp of last modification to bibliographic item
lastmod: 2025-10-24T22:43:20Z
---

I wanted to make sure it the meaning of the lastmod was clear. Putting it at the bottom and separating it from the dates related to the entry itself, should make it clear this isn't directly related to when the item was initially published.

lastmod: $dateModified
---

ENDITEM
Expand Down
2 changes: 1 addition & 1 deletion scripts/update_bibliography.sh
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ fi

# Remove library, links, and meta objects; and some fields from entries
# (These are not used any further on, so simplify.)
items=$(jq 'map(del(.["library", "links", "meta", "accessed", "accessDate", "dateAdded", "dateModified"]))' <<< "$items")
items=$(jq 'map(del(.["library", "links", "meta", "accessed", "accessDate", "dateAdded"]))' <<< "$items")
showInfo 8 "Remove library, links, and meta objects and some unnecessary fields"
if $debugFiles ; then
dfn=$(debugFileName "noLibraryLinksMeta" $dfn)
Expand Down