FinalsClub / karmaworld

KarmaNotes.org v3.0
GNU Affero General Public License v3.0
7 stars 6 forks source link

PDFs do not always generate preview text #373

Closed btbonval closed 9 years ago

btbonval commented 10 years ago

Uploaded a PDF. It converted just fine, but then the preview text is always "None ..."

We should be able to read the HTML data, strip tags, and generate preview text.

charlesconnell commented 10 years ago

What about the most recent upload here https://beta.karmanotes.org/course/reason-and-faith-in-the-west/ ? Wasn't that you?

btbonval commented 10 years ago

Hrm. Good point. @AndrewMagliozzi did that one, but it was a PDF and sure enough there is a preview.

I uploaded Florida Journeyman Application. Top note here: https://beta.karmanotes.org/course/cs-50-114/

It looks like preview text didn't work for that upload, but did for others. I'll rename ticket, but still missed the preview.

btbonval commented 9 years ago

This one is hard to reproduce. I'm going to close it; it can always be reopened if the problem occurs again.