Wilm0r / giggity

Generic Android conference schedule viewer
https://gaa.st/giggity
GNU General Public License v2.0
103 stars 110 forks source link

Using images and CSS in descriptions of events #160

Open Mutusen opened 4 years ago

Mutusen commented 4 years ago

Hi, I'd like to use Giggity for a conference I am organizing and one of the issues is that I would like to be able to use images in the descriptions of talks (the abstract of the talk itself would be followed by the speaker's bio and picture). Some HTML tags (links, lists, strong, etc.) are supported, so I figured I'd try with img, but the result is only a blue square, whether I link to an external image or I put it base64 encoded in the tag. There seems to be no CSS support either. Is this a bug or a feature? Is there a way to display images in the descriptions?

Wilm0r commented 4 years ago

I'd love this yes. One problem: This is already somewhat held together by heuristics. :<

The Pentabarf format does not specify (AFAIK) what format this is, so it'll be a mix (and frustratingly IIRC even within files) of HTML, markdown and cleartext.

It'd be really good to get this resolved at the standard level. But in the meantime, I am also definitely interested in getting a better HTML viewer into Giggity (think I even have a stashed change somewhere covering this already).

What's your timeline?

Mutusen commented 4 years ago

Thanks for the quick answer! The conference will be at the end of May.

Wilm0r commented 1 year ago

OK, given the date/year I suspect the conf did not in fact happen :(

Anyway, few years later and I am cleaning up the bug queue. In HEAD I have now switched to a better HTML/Markdown renderer so CSS or at least basic image support may now be possible!

Leaving this bug open in case you or someone else does still have interest. I'm not super sure whether this is useful since I don't think any of the other schedule viewers support this, but yes might as well introduce it and see if others follow :)