shabados / database

A digital representation of Sikh Bani and other Panthic texts with a public logbook of sangat-sourced corrections.
https://docs.shabados.com/database
GNU General Public License v3.0
63 stars 24 forks source link

Drop 'source_line' from data #1872

Open sarabveer opened 2 years ago

sarabveer commented 2 years ago

This is an unmaintained field. Outside of Sri Guru Granth Sahib Ji, all the other compositions do not use this field in the intended manner or it is left null. Line numbers vary from source to source.

bhajneet commented 2 years ago

I understand this is an unmaintained/mis-used field currently. In the future, could this be used to locate lines programmatically in PDFs?

sarabveer commented 2 years ago

I understand this is an unmaintained/mis-used field currently. In the future, could this be used to locate lines programmatically in PDFs?

The line number (and even page number) varies from source to source. So at the current moment, the only PDF it could theoretically work with is Dr. Kulbir S. Thind's SGGS PDF (and that is assuming the source_line data is correct).