Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

How to feed servo with a HTML tree in place of a URL ?#38228

Answeredbywebbeef
VincentJousse asked this question inQ&A
Discussion options

I need to render something I can convert to HTML language, but I want to avoid using file system and keep it all in memory.
Where can I plug to servo to give it an HTML string or any HTML tree representation ?

You must be logged in to vote

And if you don't want to pay the price of base64 encoding with a data: url, you can implement your own protocol handler and hook it up to your HTML string.

Replies: 2 comments 1 reply

Comment options

I don't believe there is currently a specific API to support this. One option is to load adata: url.

You must be logged in to vote
0 replies
Comment options

webbeef
Jul 23, 2025
Collaborator

And if you don't want to pay the price of base64 encoding with a data: url, you can implement your own protocol handler and hook it up to your HTML string.

You must be logged in to vote
1 reply
@jdm
Comment options

jdmJul 23, 2025
Maintainer

Answer selected byjdm
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
4 participants
@VincentJousse@jdm@simonwuelker@webbeef

[8]ページ先頭

©2009-2025 Movatter.jp