-
-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kiwix-serve should propose widgets #585
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
I'm not sure this enhancement is still wanted. |
This is not for BSF, this is for our own Web sites and it is important to provide an easy way to anybody wanting to list tiles on his own Web site. |
What you describe in your first message explicitly speak about make life easier for people integrating kiwix in there solution. |
Yes this is the idea. |
As I said, the structure of this widget would be probably specific to the application, it will be pretty useless to provide a generic one. |
@juuz0 To custom the CSS within the iframe, the styling shoukd probably be given as a URL parameter and integrate within the HTML code. Agree? Let me know if you think we should do that differently. |
@kelson42 I assume you mean CSS in URL parameter like this: Though we can parse this and definitely make it work, I think it's very prone to an XSS vulnerability like earlier. Obviously better parsing can help reduce it. |
The widget user has no access to launch the kiwix-serve. In addition, many different users can use widgets with differrent CSS. |
@kelson42 The host website:
This host website code will not change, except only the CSS rules part. |
@juuz0 Sounds more secure indeed. Lets try that way |
@veloman-yunkan Now that other PRs are merged, can we move forward with this? |
For now there is no solution to export (part of) the ZIM library served by a
kiwix-serve
instance in a human readable fashion. For computers, we have the OPDS feed, but for humans there is nothing. If this is need, for the moment, there is only two solutions:kiwix-serve
(so no integrated experience)This is not realistic to expect this to satsify all use cases like:
This is why, all these use-cases, would benefit of kiwix-serve providing a new-endpoint exporting a widget on the
kiwix-serve
home page.Here a few ideas/properties of this new feature:
iframe
on client sideCopied from original issue: kiwix/kiwix-xulrunner#245
The text was updated successfully, but these errors were encountered: