Skip to content
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

View source #1871

Closed
danielzgtg opened this issue Mar 9, 2020 · 2 comments
Closed

View source #1871

danielzgtg opened this issue Mar 9, 2020 · 2 comments
Assignees
Labels

Comments

@danielzgtg
Copy link
Contributor

Is your feature request related to a problem? Please describe.

It would be nice to be able to view either the HTML source of the articles. This would be especially useful while waiting for visual bugs like openzim/mwoffliner#1033 to get fixed, or while debugging them.

Describe the solution you'd like

To add a "view source" button in the overflow menu. The button would display the source just like Chrome or Firefox for Android.

Describe alternatives you've considered

  • Wikitext would be more useful, but I don't think it's possible with ZIM.
  • Plugging into a computer to view source is not convenient.
@kelson42
Copy link
Collaborator

kelson42 commented Mar 9, 2020

I’m against this, we should not build feature to debug. In particular that one because the HTML is exactly the one in the ZIM and we have tools to know how the ZIM content looks like.

@kelson42 kelson42 self-assigned this Mar 9, 2020
@kelson42 kelson42 closed this as completed Mar 9, 2020
@macgills
Copy link
Contributor

If you have a debuggable version of the app you can inspect our webpages with chrome dev tools via a computer, if your device is connected. More info here @danielzgtg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants