Extracting description from HTML
Bug #336975 reported by
Paul Everitt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KARL3 |
Fix Released
|
Medium
|
Paul Everitt |
Bug Description
In:
http://
...it says:
"The first “block” in the text becomes the “description” (used in show-blog and search results.)"
We need a solution for this that handles HTML added TTW as well as HTML sent in by mail. Most content types (e.g. wiki) will need a variant on this for display in search results.
We're just following the same policy as KARL2, which we could trawl for the code for the HTML or text cases. Or, just reverse-engineer the policy, which I believe is seems to use html2text.
Changed in karl3: | |
assignee: | nobody → paul-agendaless |
importance: | Undecided → Medium |
milestone: | none → m4 |
Changed in karl3: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Making a function in karl/views/blog.py