Tools for searching offline website - search

I built a website which runs on localhost and is pretty big by now. What are the tools for indexing and searching my offline website ? For example if my website is placed in the directory c:\mywebsite\ , i just want to submit this directory to the indexing software/tool and then it should work something like Google. I want it to be functional even when I'm not connected to the internet and preferably should be lightweight.

Why not try a desktop indexing software instead?

See SD Source Code Search Engine. This will index your website, using the language types of the various web files (HTML, PHP, JavaScript, ...) and allow you to search using the langauge structures to your advantage, e.g., "find all identifiers named FOO" (which will only match against identifiers, not strings or comments).

Related

Create website which has usefull information like videos, third party API for live information on education

I want to create a website which consists of videos which will be uploaded by the admin and many useful information which all will be uploaded by an admin.
I have got the domain name, remote LAMP server.
I have gone through many tutorials and I tired creating using Drupal 8. Website was fine but while creating a new existing module the whole thing got crashed and I don't want to goback and recover it since it is a big mess.
So I want to try from first keeping it very simple.
Kindly guide me to achieve this. I will put all my effort to learn it.
Any help any documents which will help me to create will be greatly accepted.
I am beginner in C++, html. Can you guys let me know how can I achieve in creating a website.
You can find your answer here on your own:
So there are various languages that are being used in the web that perform various purposed and hence you can choose what functionality do you need in your website and according to that you can write the code in that language.
Lets take a quick look at some of the most widely used languages of the web:
1: HTML
This is a Markup Language which can be used basically just for writing the content and displaying on your webpage. You can create too many pages and link them to form a website.
2: CSS
This language helps you design your webpage and thus makes your webpage look way too better. A site only written in html in not preferrable.
3: JavaScript
This language is a scripting language that helps you do various cool stuff like handling input events (like click, hover,etc), change the content of your webpage dynamically, bring popups , etc.
4: PHP
This scripting language is also being widely used as this lets you work with the forms and submit to a database. In fact, if you learn this language you can write the logic behind your own facebook and you can give it a face using HTML, CSS.
Once you are done learning all these languages, you can now learn some of the cool libraries like:
Bootstrap (for css, js)
Jquery (Javascript)

Joomla find front-end content in back-end

I have a text in the front-end which I can't locate it in the back-end.
Is there a way to search or to figure it out?
To be more specific there is a text which I wrote it some time ago but I can't find in which component belongs. There are no articles at all and it's not in the component that is assigned to this menu item.
With the limited information you've provided there's very little specifics we could provide. As is, we don't know if the text is in the database, the code or even part of a language definition. In addition, the text could be the result of your web server being compromised. If there are ads for Viagra and other stuff skating up this is midst likely the issue.
You can use any flavor MySQL client to search to see if stored in the database.
To search the code, use your IDE search functionality. If your not using an IDE, download Notepad++ and install, once launched hit + F to open search utility. There is a tab to search all files from a specific directory root, use this to search for the text.
Although the search will find a language override, you should not edit core files, but there is a tool to override core language definitions in Joomla's backend.
Good luck!

Static web site generator with big template/theme collection?

Any static web site generators (cms'es with export-to-html, or dedicated scripts) with big collections of templates/themes (not for blogs)?
Want to write how-to/wiki/tutorial website. (Created just by me)
Will edit website on my computer.
Will host static files on Amazon S3.
Hacking my own solution or using simple generators, fails when I need to make layout/design. That is just not my skill. (Hence "big template/theme collection" in title/question)
After doing a Google search I came across this list https://iwantmyname.com/blog/2011/02/list-static-website-generators.html. The one that seemed to be what you where looking for was ikiwiki a wiki compiler that converts wiki pages into html. I would look at the themes on http://ikiwiki.info/theme_market/ an see what you like. Although this does not have a big collection of themes it seems that it was the best match to what you wanted. Also I believe there are a few themes shipped with the ikiwiki package although I am not sure how many. I would start there to see if what else you can find on that site.

How to access Wikipedia using Node.js

I am looking into the simplest way to integrate Wikipedia into a node.js app.
The requirements are to be able to search for entries and find entities in each entry.
Any known existing libs/methods for that?
Thanks
There's a newly available open source parser for wiki text (http://sweble.org/) that might be useful to you if you roll your own solution. Of course that would require you downloading the wikipedia data dump, parsing, and storing entities in a db.
You could also look at dbpedia (http://dbpedia.org/About), though that would require integrating the rdf stack into your app (either running a local rdf repository or communicating with the often flaky online version via sparql).
One easy approach is to use a search engine api and restrict to site:wikipedia.org - e.g:
http://www.google.com/search?q=node.js+site%3Awikipedia.org
I've found that can work really well.
Spider for scraping using jquery is fantastic:
https://github.com/mikeal/spider
Mikeal is the man
Presumably you'd be using this for a side (personal) project though. Not sure how kosher it is to run wild on wikipedia with a scraper.

How to build an shipable, "local", branded mini-browser

Since I don't really have a good idea for word to search with myself I’d like to ask you:
Is there some project, technology, w/e that enables you to build a 'browser' with a very slim ui. Just some CI and a customised "starting page".
I'm thinking of something like the Webkit engine (and interface) Valve/Steam uses for it's clients store page.
In what direction should I search for something like that ? How would one start implement something like that ?
Answers to questions:
We need this to provide something like a "Kiosk" application (for touchscreens) and shippable to our Customers. Running a browser in "full screen" is a temporary solution.
As of Platforms: Windows is absolutely sufficient for now, but Mac/Linux wouldn't hurt.
Prism looks nice so far but lacks the "shippable" part, e.g. I see no way of packaging it.
Take a look at Mozilla Prism. It's a "UI-Less" version of the Mozilla/Gecko rendering engine aimed at deploying web apps on the Desktop. It's also multi-platform. It might be fairly close to what you need, with comparably little work.
WebKit has bindings for many languages, is cross-platform, and is full-featured as a HTML engine. A bit of work capturing signals and calling functions will make it into any kind of web browser you like.
You could use Adobe Air, follow this tutorial and include your website within an iframe. That would allow you to build an executable you can ship to your customer.
Various graphics toolkit libraries contain some components which can display a limited amount of HTML. I've seen this in qt (a C++ GUI library) and in Java Swing, and have indeed built a tiny "browser" in Java within a couple of hours. Java Swing lets you attach a link listener so links can be made clickable and thereby jump to different URLs. Thus, my application could be made to work as a very limited browser.
This approach lets you display text, images and links; in the case of Java, there's even fairly good support for CSS styling. However, there's no simple way to make buttons and form fields work, and of course no support for manipulating the DOM or anything else done in JavaScript.

Resources