Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Offline searchable linked web of pages  (Read 2949 times)

Dozebôm Lolumzalìs

  • Bay Watcher
  • what even is truth
    • View Profile
    • test
Offline searchable linked web of pages
« on: September 30, 2018, 05:55:05 pm »

I'm trying to find or build an application that can do the following:

  • Display HTML pages stored on my computer
  • Open links from one page to another

If HTML is infeasible, then something that does the above with plaintext would be almost as good.

(I am essentially trying to build my own offline wiki. It's for a competition that allows use of my computer but not the internet.)
Logged
Quote from: King James Programming
...Simplification leaves us with the black extra-cosmic gulfs it throws open before our frenzied eyes...
Quote from: Salvané Descocrates
The only difference between me and a fool is that I know that I know only that I think, therefore I am.
Sigtext!

ChairmanPoo

  • Bay Watcher
  • Send in the clowns
    • View Profile
Re: Offline searchable linked web of pages
« Reply #1 on: September 30, 2018, 06:24:02 pm »

Any web browser will do that. The onus lies on making sure the html files are properly linked
Logged
Everyone sucks at everything. Until they don't. Not sucking is a product of time invested.

Caz

  • Bay Watcher
  • [PREFSTRING:comforting whirs]
    • View Profile
Re: Offline searchable linked web of pages
« Reply #2 on: October 01, 2018, 09:27:44 pm »

I'm pretty sure you can download wikipedia, if that's what you are trying to do...? It's unclear.

Are you taking about putting a website on a local server instead of online?  ???
« Last Edit: October 01, 2018, 09:29:58 pm by Caz »
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Offline searchable linked web of pages
« Reply #3 on: October 01, 2018, 11:44:05 pm »

As CP stated, ANY browser can do this.

the thing is that you will need either relative path based links (easiest to move around, these are in the form of say-- (a href="/help.html")Example(/a)), or the links will need to be updated to fit their new location.

You can clone just about any website using wget. (you can tell it to ignore robot.txt, among other things, that normally prevent automated crawling of a site.)

Logged

Trekkin

  • Bay Watcher
    • View Profile
Re: Offline searchable linked web of pages
« Reply #4 on: October 02, 2018, 12:21:34 pm »

I'm trying to find or build an application that can do the following:

  • Display HTML pages stored on my computer
  • Open links from one page to another

If HTML is infeasible, then something that does the above with plaintext would be almost as good.

(I am essentially trying to build my own offline wiki. It's for a competition that allows use of my computer but not the internet.)

If you'll permit me to do that annoying geeky "are you sure you want to do that" thing, this is going to be a lot of overhead for very little gain over a single large text document if all you want to do is look things up during a competition. Is there a reason you can't just search the plaintext for what you need?
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Offline searchable linked web of pages
« Reply #5 on: October 02, 2018, 12:27:22 pm »

Again, he can just clone wikipedia. :P

It already has a search function, and uses relative link syntax.

I am fairly sure that would be considered "cheating" though.
Logged

George_Chickens

  • Bay Watcher
  • Ghosts are stored in the balls.
    • View Profile
Re: Offline searchable linked web of pages
« Reply #6 on: October 02, 2018, 12:34:27 pm »

You can use HTtrack to download whole websites, if that is what you are looking for.
Logged
Ghosts are stored in the balls?[/quote]
also George_Chickens quit fucking my sister

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Logged

TWO CATATA

  • Bay Watcher
  • twin kavat
    • View Profile
Re: Offline searchable linked web of pages
« Reply #8 on: December 23, 2018, 08:19:20 am »

1. Create text file, save as whatever.html instead of whatever.txt (to check you are doing this properly open any folder on your computer, at the top-left go to ''Organise'' ''> Folder and Search Options'', then the ''View'' tab, then untick the box that says ''Hide extensions for known file types'')

3. Open in Notepad or Notepad++ (better)

4. Write whatever you want, type
Code: [Select]
<br> for line breaks, and
Code: [Select]
<a href="whatever2.html">link like this</a>
5. If you can use "BB code" on forums you can write HTML and just did, "BB code" is mostly just replacing <> signs with [],
Code: [Select]
<b>for bold</b> etc :) Open your new page in web browser :)



Or just use https://addons.mozilla.org/addon/web-scrapbook
« Last Edit: December 23, 2018, 08:22:35 am by TWO CATATA »
Logged