sanskrit-lexicon / cologne-stardict

Scripts to convert Cologne XMLs into babylon format for merging into Stardict format.
MIT License
7 stars 3 forks source link

Remove git lfs and shorten URLs #33

Closed drdhaval2785 closed 2 years ago

drdhaval2785 commented 2 years ago

git lfs caused a lot of trouble or downstream applications like csl-json. Removed git lfs support for rest of the dictionaries.

MW is a tricky issue. It is more than 100 MB. Therefore github will not accept it. I need to shorten URLs for scanned page and correction page to bring it below 100 MB, so that business can continue as usual.

gasyoun commented 2 years ago

I need to shorten URLs for scanned page

By replacing ... to ... ?

drdhaval2785 commented 2 years ago

Removed git lfs. For MW, just removed the correction submission link.

vvasuki commented 2 years ago

Reopen please. Try this solution

gasyoun commented 2 years ago

https://yaahi.github.io/?cp=0001-a&d=MW72 redirects to https://www.sanskrit-lexicon.uni-koeln.de/scans/csl-apidev/servepdf.php?dict=MW72&page=0001-a

Makes sense @drdhaval2785 ?

drdhaval2785 commented 2 years ago

Yes it does. Looks a bit creepy, but works.

drdhaval2785 commented 2 years ago

https://yaahi.github.io/?mw=2.txt

We need to keep it working across dictionaries, just as the scan page links. https://yaahi.github.io/?d=mw&e=2 dictionaray = mw entry = 2

vvasuki commented 2 years ago

Done

drdhaval2785 commented 2 years ago

https://github.com/sanskrit-lexicon/cologne-stardict/commit/bb8928c4f0fb1a1bd80db2e467129ceee985c324 onwards to aebe16ed4abb2216aea17b327372b3dfd57af86a correct this. Now the links are short as shown in comments above.

drdhaval2785 commented 2 years ago

MW is 71 MB. So, now every dictionary is below 100 MB threshold.