![]() |
![]() ![]() |
![]() |
grguthrie |
![]()
Post
#1
|
Group: Members Posts: 3 Joined: 21-March 25 Member No.: 29,405 ![]() |
I want to start with an existing web page, and then have the ability for users to easily customize it - in this case starting with a document reference page and then being able to adapt for other documents.
For example: https://arxiv.org/abs/2503.16416 So I opened the page in FFox, did "show source" to see all the html, and saved that. But when I open the saved file.html version, it loses most of the formatting. How to best do this? And is there then a recommended easy to use tool where users could then edit in their own document summary and information? TIA |
pandy |
![]()
Post
#2
|
🌟Computer says no🌟 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 20,803 Joined: 9-August 06 Member No.: 6 ![]() |
Look in the HEAD of the document.
CODE <link rel="stylesheet" type="text/css" media="screen" href="/static/browse/0.3.4/css/arXiv.css?v=20241206" /> <link rel="stylesheet" type="text/css" media="print" href="/static/browse/0.3.4/css/arXiv-print.css?v=20200611" /> <link rel="stylesheet" type="text/css" media="screen" href="/static/browse/0.3.4/css/browse_search.css" /> There's the formatting, in the CSS. If you just want to view the page with formatting applied you have two option. Either download the CSS files and edit the URLs to them in the above tags to reflect where they are on your disk. Or insert the below at the top of the HEAD section and they will load from archive.org's sever. So will the JavaScript. CODE <base href="https://arxiv.org/abs/2503.16416"> If you want to create your own site like that, you will need more than HTML and CSS. |
grguthrie |
![]()
Post
#3
|
Group: Members Posts: 3 Joined: 21-March 25 Member No.: 29,405 ![]() |
I can use the browser feature "save as WebPage" and that does also keep all the formatting - so i suppose the issue would be how to best allow users to use this as a template, and modify and update certain parts of it?
Is this a CMS issue where we would create a template with composable sections? We would have a limited number of people creating versions of new documents from this initial template, so maybe just an editor with HTML display capabilities? |
grguthrie |
![]()
Post
#4
|
Group: Members Posts: 3 Joined: 21-March 25 Member No.: 29,405 ![]() |
@pandy - very good- thanks, it took me a bit to figure that out - thanks.
|
pandy |
![]()
Post
#5
|
🌟Computer says no🌟 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: WDG Moderators Posts: 20,803 Joined: 9-August 06 Member No.: 6 ![]() |
I'm confused about what you want to do. Do you want to use this on the web or offline? Do you want to use it with their data or with your own?
To tell the truth, I'm confused about what the archive.org page is about too. But I'm pretty sure there's some server side action going on that you can't recreate with just HTML and CSS. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 30th April 2025 - 12:46 PM |