customizing the wget or find similars - wget

I need to wget the whole page including the dropdown menu
Linux Ubuntu 16, I am trying to wget a whole page including the dropdown menu that's on the right side you can check the page here https://bitcoincore.org/en/doc/0.18.0/
The dropdown menu I mean is that starts with blockchain then control then generating and their content and the content inside the choices inside them
I tried wget https://bitcoincore.org/en/doc/0.18.0/
When I tried wget https://bitcoincore.org/en/doc/0.18.0/ they were empty.
I need to include the whole page content including the clickable options inside it as long as they open inside the page and am afraid of copy-paste to word file as its sensitive lines that I need the original to be in the face of me in the case of this website got broken and archive org also what I expect is to download the whole page including all the content in the body that's clickable

Related

Import an HTML file as a Confluence page

I have stored some pages that I have created in Confluence (with an account that doesn't exist anymore) as HTML files a while ago.
I would like to use them in another Confluence account. There are often lots of mathematical expressions within the texts so I cannot simply copy the content of the html files and paste them into the Confluence page (right?).
Is there a way to proceed conveniently?
I noticed that the former Confluence pages are stored as folders with multiple files in it which are mainly of the following file formats: .css and .Download.
screenshot:
You can try the following:
log into confluence
click on Create
click on Import (to the right next to Templates)
pick the right option
More official info here:
https://community.atlassian.com/t5/Confluence-questions/How-to-Export-Import-Confluence-Pages-and-Spaces-plus-Jira/qaq-p/1022504

Visual Studio Code - Live Server - Html Displays but no CSS markup

I have used VSC with LiveServer for some years with only 1 problem, back a few years ago when either LiveServer or Windows10 had an update installed, next time I opened my HTML file in LiveServer, the HTML was rendered in a "basic" layout, and did not include my CSS Styles.
On an Internet search I found a solution for either this site or similar where I needed to add a line of code to either LS or Windows, sorry but I cant remember which. And all was well again until, now. The very same problem has returned, and no matter how much I search, I cant fine the solution.
There are plenty where there were errors in HTML or CSS, but this is occurring on files which haven't changed, and on new ones from the same master I use for my new pages. The screenshot included shows the HTML, LS as basic HTML and how the page loads on the browser directly. I am using Chrome, but have tried on Firefox with same results.
How LS displays and how it should be
You need to open your VS Code project from a directory that contains your HTML and CSS.
Your HTML document is in the root directory of your project (hence the URL being /filename) but you are trying to load CSS from ../../css/filename.
The project needs to be two directories higher for the webserver to include that path.

TinyMCE and Dynamics365

I have a TinyMCE editor working with Dynamics365. In it, I'm able to get images to copy and paste into the window. However, I'm wondering where these images get posted to and/or stored and what I need to do to bring them back up when the page is closed and reopened.
When I reopen the page I get a list of errors saying the images can't be found (makes sense).
Thanks
When you copy and paste the image into TinyMCE what actual HTML are you getting before you save the content? What plugins are you loading in TinyMCE to help facilitate the copy/paste? There is a free paste plugin and a commercial powerpaste plugin - these would typically result in slightly different HTML depending on the source of what you are copying.
Knowing what sort of HTML you get after the paste would be the first step in determining possible solutions.
We are using URLs for inserting the images into the page.

Jump to a specific part of a page in a moodle wiki?

I should create a moodle wiki and I have got some sections on my wiki-page. Now I would like to create a table of contents where The user can jump between the sections like on Wikipedia.
What I tried:
section1
...
<h2 id="section1">Section1</h2>
The problem I got is that when I save the page the id property will be removed from the tags
If you are using one of the latest version of Moodle, it is possible to make the HTML ids stick if you add you HTML markups within the Wiki HTML editor.
This has to be the ultimate change you do to the document. Once you have your HTML correctly tagged, directly hit the Save button without going back to the editor's preview mode. They should be available in the Wiki after that.
If you need to edit the page again, be sure to keep a local copy of your HTML structure, in order to avoid having to add the HTML markups again. They will be removed everytime you edit the page or if you switch from the HTML editor to the WYSIWYG preview mode.

Changing the Moodle footer logo

How to change the Moodle logo which will be displayed at the footer page and change to some other logo? As per the given link 1 I have tried but I could not find the footer.html file in my themes folder.
So please help me with some other method (which does not use local machine because I'm working with a remote machine where I could access only the Moodle site, and nothing more than that) to change the logo and link of Moodle.
This depends on your theme - So you're not going to get a precise answer unless you post more details. But here's the gist:
Every theme is made in parts. Normally, you have a header, a content, a sidebar (or two) and a footer.
You want to be editing the footer file.
The footer file is going to be something within the lines of footer.html or footer.php... Something like that. Again, every theme is different so it could be called something completely different. Sometimes, you just need to dig around.
Please also consider that your footer file may also be contained in a sub-directory in your theme folder. So make sure you have a proper look before deciding to "call off the search".
Anyway, once you've found your footer file (Whatever it's called), you'll want to open it and find the image.
If the image is inserted as a HTML reference of location, you can find it by Ctrl+F and typing in the name of the image file. E.g. "footer.jpeg" or whatever.
If the image is inserted as a PHP relative reference, e.g. "$FooterImage" then don't change that, instead, find out where the variable is pointing to in terms of the file-path, and go and edit that image file via FTP instead. You don't have to keep the PHP variable, but I'd keep it in for code-integrity purposes.
Tip for the future: Please include information like name of theme and Moodle version. It enables us to help you better.
Clean Theme:
Things are a bit different with Clean Theme as it doesn't have a single footer file.
You need to go into all layout files one at a time.
Look for this div:
<footer id="page-footer">
...
</footer>
In this footer, you will find a PHP command that says:
echo $OUTPUT->home_link();
To remove the logo, remove this line.
To replace the logo, you can either:
Replace the "home_link" reference in PHP to point to the new image file.
Or
Remove the PHP line and replace it with
?><img src="link_to_your_image" alt="Logo"><?PHP
Remember, you will need to do this for all layout files.
Have a look at Footer replacement at the official Moodle Documentation. Hope that helps.