When I save a page from my website, I will get an html file and a folder that contains all photos, css and js files.
Is there a way to save only the html file?
I've just found that if you are using Google Chrome you can choose which one you want to save from the dropdown menu 'Save as type'. If you talk about preventing the user to save your HTML - it's not possible, if the browser can see the page, the user can view the source code and save the page.
If you use Microsoft Edge browser, do the following: ctrl+s then select html only on the drop-down menu.
you will get one html file without any extra folders.
Related
I have a local folder with 57 HTML files. The HTML files, when opened in a browser, contain a drop-down menu and the different choices here correspond to the other HTML files. So clicking an option in the drop-down menu should bring me to the page of another file.
How can I open all HTML files together so the connections between them work? I do not want the pages in separate tabs, but more like a website where I can click my way between the pages corresponding to the files using the drop-down menu.
I am on a Windows 10 laptop.
I have opened the files separately in chrome. When selecting an option in the drop-down menu, it brings me to the "File not found" error page.
Thankful for any input!
You will have to change the destination (of each drop down) to the respective html files in your folder.
I want to use one of the blogger free template in my site.When I download ,it is in the xml format . Is there is any way to use in a site?
Here are the steps you can use the template in your site -
Log in Blogger dashboard
Find your Blog in your Dashboard for you want to change template, and select “Template” in Drop Down menu options.
Look at the top right corner, you will see Backup / Restore button
Manage on pop-up windows and click “choose file” button and look for folder that is created after extracted file that you have downloaded.
Folder may has a .XML file and .TXT file or Internet shortcuts, you should select only XML file.
Click Upload button. Now upload process may appear in your screen.
Now the template will be appear in your blog successfully. Enjoy!
Finally I found a way of doing this. There is a tool name Webhttrack which can download a complete web site along with css, js and images.
To get any blogger template in html:-
Go to live preview site of that template.
Give that url to the webhttrack
It will download this complete template in the html with all css js and image
Get this tool
https://www.httrack.com/page/2/en/
When I try to save a web page using the format "Web Page, Complete," half of the time it only saves the the folder containing the style sheet and images, and the .html file is not saved anywhere on my hard drive. How do I correct this? I have noticed it also happens when I use Safari, so it is not just an isolated issue with Google Chrome.
First save the whole page (webpage,complete) which may only save the folder containing the style sheets and images, again press CTRL+S to save the page but this time select to save only the HTML page by clicking on- (webpage,HTML only).
When directory is saved but not the file, try the following:
In "File name:" include the .html extension (example:
SampleFileName.html), and
Select Webpage, Complete in "Save as Type:"
Seems to fix the bug.
I'm trying to create an editable page in Sharepoint. I already have the page in HTML (it's quite large) and it has many images in it. Previously I have just created a new page in sharepoint and pasted the HTML source in, the uploaded/inserted the images manually, one at a time.
Unfortunately, I am not able to do this in a reasonable amount of time since there are many images this HTML file is using.
So, I want an editable Sharepoint page that keeps the images intact from a directory that looks like this:
thepage.html
1.png
2.png
...
...
...
343.png
etc
Any ideas?
EDIT: For more clarity - this is a specifications document in HTML form, so it has a lot of text and header integrated with images. I'd like it to be converted to an actual Sharepoint Page that is editable from Sharepoint's interface.
Seems best here to use a low-tech solution, some HTML editing and use the best way for you to upload multiple files.
Assuming
C:\mypage
-> \page.html
-> \images\1.png
-> \images\2.png
...
-> \images\100.png
Via the UI
Go to a Document or Image library, and use the "Upload Multiple files/images" (this only appears on Internet Explorer)
Lets say you uploaded it to //sharepoint/myimages
Create a new content page (say an Article page, or WebPart Page with a Content Editor WebPart)
Lets say your page resides now at //sharepoint/pages/mypage.aspx
Change your html to point from <img src="images/1.png" /> to <img src="../myimages/1.png" />
Edit the HTML for your newly created page (Ribbon > Edit HTML Source), paste your HTML code
Via SharePoint Designer
Drag and Drop all the images in your desired location
repeat the HTML steps above
To replace text in bulk, SharePoint Designer, your favorite HTML editor or event Notepad can do that well using the CTRL+H menu / Edit > Find & Replace options.
NOTE: the //sharepoint address up there is the http url for your site, SO won't let me use a full fake address as a sample.
From IE or from Word, save the page as a complete webpage so it creates an HTML file plus a folder with the images.
In network places, create web folder (WebDAV) pointing to Sharepoint. This way, you can access it from the file system in Explorer.
Open your new network place, navigate to the library where you want your HTML file to be, and drag-n-drop the file and folder into there.
The file then will be visible in browser, with the pictures, but the folder will be hidden.
If I have understood correctly your question. You can use this post answer to load list of images by javascript and php ->
Load list of image from folder.
Upload files to Share Point server and use that folder.
Or you can dynamically write c# code to read Share Point folder and display images.
Page of the site, built on a client-side xml + xsl technologies, some browsers like Firefox, Google Chrome, etc.. save the file as pure xml. Without the xsl and css. As a result, saved the page looks horrible. Is it possible to force the save page as html?
If you use Firefox's save dialog (6.0.2), you can see that one of the options is Web Page, Complete. This means that just like normal XML, it also finds all the other linked documents (like CSS files for example) and saves them in the appropriate directory for offline browsing.
If your browser has this feature, then you can see it in its save dialog. Otherwise, it simply doesn't have it.
In Chrome: open F12 to bring up developer tools. Go to Elements tab and right click on html-element and select Copy../Copy element in context menu. Paste into you text editor of choice and save it as an html page.