How can I call different web pages with query strings? [closed] - html

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
Improve this question
I have the following problem. I downloaded a web page with the wayback machine downloader. The wayback machine downloader saves the query strings with %3f because question marks are not allowed in Windows Explorer. For example, when I go to the splash.aspx?page=3 page, nothing happens except that for each value after the ?, the same page appears. How can I assign different pages with the query strings?
Btw: I use IIS for hosting.

The problem is that the downloader creates a static copy of the site. There won't be any server-side processing. Multi-page processing requires that.
Assuming that the wayback machine actually iterated through all the pages, you will need a different downloading tool that can find them all, creating static versions of each page and rewriting the links for each, since the wayback machine downloader doesn't know how to do paging itself.
But really, stepping back, I think what you're trying to do is the problem. Wayback Machine is for creating snapshots of sites at a point in time. It's goal is not to backup and restore the backend functionality. (Which it can't do, even if it wanted to, since it doesn't have access to the backend of every site on the internet.)
You didn't specify what your final end goal is, but my guess is that while the wayback machine might be able to be used to scrape the data, you'll have to write your own server code and website if you want to redeliver it again. (And assuming you have the rights to do so.)

Related

How to upload a website without an html files [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
H!
I have created a website, where all the files are of the type CSS, js, pug, and when I want to publish the site, I need to give an index.html file from which the site will start. The problem is that I do not have such a file.
Does anyone know how to deal with such a problem?
And in addition, I started the site by running it in localhost: 3000 does anyone know how to start it now so that it will work when I upload it.
Thanks in advance to all the helpers.
Your mention of localhost:3000 implies that you have written a website which depends on Node.js for server-side code (at a minimum this will involve the translation of your Pug templates into HTML on demand).
There are two general approaches you can take to solve this problem:
Find hosting which supports your server-side code and deploy your Node.js application to it. (This will not be typical static or shared hosting).
Generate static HTML documents from your application and upload those HTML documents. (The specifics will depend on exactly what your server-side implementation does and will probably be a significant amount of work. Typically if you wanted to take this approach, you would have used a framework designed to output static sites from the outset).
Obviously if you have your server-side code processing user input (such as form submissions) option 2 will not work.

How to set up things for MediaWiki for my website [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am trying to set up a website with MediaWiki on a Shared Hosting service and am getting frustrating results. First I am going to list what I want out of my website and will show the hosting details to show you what kinds of problems I am running into here:
So the main objective of the website is to run a database of events in human history (relating to World War 2)
I want to use the Visual Editor extension to create a more visual style to edit articles (which requires Parsoid) so that editors won’t have to go through the pain of using the old wiki editor and memorizing the different characters needed for specific things and so that editing the whole thing won’t look like a complete mess.
I want to make it so that only selected accounts/people can create and edit content on the site.
I want to be able to have some sort of forum so that people can ask questions and communicate with each other.
I want my site to have a certain kind of style (which I know is a skin but was wondering what's the best way to create one is. Also, do skins also come with the ability to customize the site to have certain functions? Because I have seen sites like halopedia which seems to be running on MediaWiki but have a lot of different kinds of functions and all that. )
I want to create some sort of email system for my thing (although I could just maybe use another service which would be easier)
These are pretty much the main things that I want but there are some smaller things that I can ask how to do some other time as they are not mandatory right now. Here are the details for the hosting service that I use for the website just to give you guys a better understanding of my situation here.
I am using Bluehost as the hosting service and cPanel as the file management system
The website is currently on a shared hosting plan and the best one that I could get without spending a lot a month.
I used Softaculous to download MediaWiki onto my website.
One of the main things that I have been having trouble with is installing Parsoid to install the VisualEditor extension onto the site. The problem is that to install Parsoid you need Node.js which I can’t install on my hosting service because it is shared hosting. However I tried following the instructions on the page that shows you how to do it using Heroic but have been having trouble with that too.
If you wait a few weeks, MediaWiki 1.35 will be released with a PHP implementation of Parsoid.

How to run .cpp application on .htm file? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
I've made a webpage on HTML and I want to run a .cpp application on it. With the way I've learnt to do it, the code is displayed.
The only way to do this is ActiveX, which by default is not supported by anything anymore. Only Internet Explorer supports it, but even that needs to be specifically allowed.
But you'd still have to first compile the cpp-code and do quite a huge amount of programming work before you'd have an valid ActiveX -dll. Then you'd also somehow need to deploy it for all website clients.
TL;DR: No, no no no. Running C/C++ for web clients is no-go.
However, if you are looking for something like that website client should be able to invoke a C++ application at the server, this is very possible. You still need to have that application compiled for the server environment though. For small "run and get the results" -tasks I've found it easiest to use ajax to call php -scripts, as php can execute stuff on server.
Signed Java Applets can run executables from browser, but it's not welcomed nowadays.

C++ Windows Sockets: Downloading an html file [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
Given:
Suppose that I have a website called "exampledomain.com", and that on that website, I have one file called "my_doc.html", the full URL address of which is "https://www.exampledomain.com/my_directory/my_doc.html". (Not my actual website; this is just hypothetical).
Objecive:
I'm trying to develop a Client-Side Application, using C++ & Windows Sockets, that downloads my HTML file, parses it, extracts some specific information, runs some calculations, and displays its results to the user.
Question:
How do I download the HTML file from the server to the directory "C:/ExampleDirectory/" on the client-side computer, using the Windows Sockets Library?*
Clarification:
I want to write this Client-side program to work with the existing website. IE: I want it to download the file in the same way that an Internet-Browser like Microsoft Edge would.
Edit:
Just to clarify, the server uses a secure, account-based system, and thus the document would be transferred using HTTPS. I'm not really sure if this would effect the solution, but I thought it'd be worth mentioning.
Don't.
A socket library is not an appropriate tool to talk with a web-server. http is complex enough that you want to use a specialized http library. There are several such libraries available. curllib springs to mind. And of course there is the WinHttp tag https://stackoverflow.com/tags/winhttp/info.
And for the html part, you'd want to use an html parsing library to extract the desired info.

View Access Database From Browser [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am in need of some help, here is what i have...I have build a Access Database using 2013 and have placed it on our company network. The database is updated frequently of visitors signing in and out. What i am trying to do is view the database like a report or select* from table1 (something like that) I would like to view this by HTML from browser (file://) as i will be using a IPAD that is connected to our network. I am looking for some insight our other possible ways this might work
Thanks in advance
Does your company use SharePoint?
I just created a web database relatively easily that is hosted on sharepoint.
You should be able to import your tables pretty easily.
Possibly relevant:
Move Access Web Database to Another Sharepoint Site
If you going to build a web interface, then you need to use web development tools.
You can of course adopt terminal services, and thus consume the application on an iPad or any device that supports remote desktop protocol (RDP).
And you can now “eliminate” the need for a RDP client since technology does exist that converts RDP to pure HTML5. Check out:
https://www.cybelesoft.com/thinfinity/remote-desktop/
In fact there is even an open source one here:
http://guac-dev.org/
The above will thus let you run existing Access applications in a browser – you need a server running remote desktop for this purpose.
As several mentioned, you can also adopt Access web publishing, but that choice does not support VBA, nor does it support existing forms etc. (you have to re-build your forms as access web forms and no conversion of existing forms exists).