How to create a HTML sitemap for my localhost website? - xml-sitemap

I have a localhosted website that's not published yet, I need to create a HTML and XML sitemap for it before publishing, is there a way or a tutorial to do so?
Thx
EDIT
Well yes it's a self created CMS, something that's created from scratch, yes it's dynamic,
I know that we can use xml-sitemaps.com but I need to publish the website to use it, I need the exact syntax to do so

Related

How to access your wordpress website via code editor?

So I am trying to customize my already running website via custom code
for better user experience etc.
I see a lot of people developing for WordPress via the code editor
and I simply can't find any information on how I can access my website
via a code editor and customize it with customer HTML, CSS, and javascript (or react.js)
and of course, PHP if necessary.
Could anyone please help me where I can find that information?
I would be very grateful!
Not sure exactly what you are looking for, but I go to CPanel on my host and open File Manager. Scroll down to the public_html folder and the web site below that. Select a PHP file and click Edit. Beware, though, that updating the theme will wipe out any changes when taking this approach.

Can I add anuglar app to my wordpress site?

So i have built an angular website that uses the GoogleBooksAPI to fetch some book list. And then I show it on my single page app.
Now, i'd like to deploy it somehow to see if it's working.
So i tried to add the project to github pages. github project link:
https://github.com/DrorSC/DrorSC.github.io
And was unsuccesful..
So i thought on a different option. I have a domain, and a wordpress site on it. Maybe i can add the files to my Cpanel and load it into my domain? Or can i do it straight from wordpress?
Tried to look for answers, couldn't find.
Please help. thank you :)
If I understand correctly I think Angular Element will be your best choice. It works the best if you want to integrate Angular web app into your existing website.
Building Custom Elements / Web Components with Angular 6
After build the project. You can use the content of the dist directory into your host.
If you will put your code into a subfolder, you will need specify the path as argument on the CLI for the build.

Is it possible to develop a wordpress plugin that can upload and display a HTML5 app?

I have a desktop app that generates small HTML apps (a zipped folder with a single HTML page, a bunch of scripts with WebGL stuff and a bunch of media files).
Now I would like to make this HTML app easy to deploy to wordpress through a plugin that would:
Let the user upload the zip file from his hard drive
Unzip the contents and store them somewhere
Create a page that displays the HTML app
I'm not looking for actual code yet, just to know that this is possible and that it doesn't violate some constraint. Of course, pointers to information on how to achieve this are welcome.
Thanks for any help
It's hard to give pointers since it's a really broad question, but as for your plugin requirements: all is possible via php and thus, all is possible in a WP plugin.

Wordpress: Editing pages with another editor

Relatively simple question, but I can't find the answer: How can I edit static pages (or posts) with my own editor instead of using WordPress? I'm not asking about the details of how to FTP, but instead where can I actually find the pages I created using WordPress in the WordPress directory?
Thanks.
The content of the pages you create are stored in the mySQL database rather than as static files so you cannot just see them if you look through the directory. The software reads out the data from the db when requested and renders it according to various settings.
As for editing your wordpress pages/entries using an external editor, wordpress supports an XML RPC interface which can be used to communicate with it. For an example of an emacs extension to edit WP articles, check out http://www.tolchz.net/2008/01/06/posting-to-wordpress-with-emacs-webloggerel/. I'm sure many other editors have this facility as well (including, I'm led to believe, Microsoft Word).
Finally, if you want to use the web interface but use your own editor for the textboxes where you edit pages/articles, check out the it's all text plugin for Firefox.
Windows Live Writer is an excellent editor for this purpose. The latest version (2011) surprisingly better than the first, which was already more than I expected for a freebie, and a small project team.
Make sure you avoid all the extra "Live" options and just leave the Writer checked for install. And in WP admin settings, enable XML RPC.
wp generates dynamic pages - that means the pages only exist the moment they are requested. You would first need to "statify" them - simply downlowding would do, but there's also plugins that can do this.. Usually needed for optimizing speed/cache
Looking for "wordpress static pages plugin" might help..
PS: this would do the job of making wp 'static'
http://wordpress.org/extend/plugins/really-static/

Display Drupal content outside Drupal?

Is it possible to use Drupal to feed a few dynamic portions of a mostly static website? We have a plain old website and are looking to create a sibling site just for web-app stuff (private CMS, databasing, some forms for specific things, etc.). Some of the content we create on the sibling site (which would be Drupal), we'd like to render in areas on the primary site (non-Drupal). An example might be a news feed generator that displays on the primary site, but is actually fed from content created in the secondary site's interface. Another potential workflow might be a Drupal installation that's located in a subdirectory of a mostly static website. A general login link could redirect users to the drupal area, but could we get any of the content they create outside of that, modularly, so we can keep our nice rigid site design? I guess I'm looking to harness Drupal as more of a framework than a CMS.
Is any of this possible? Is this even a logical concept, or am I stupid for asking?
Thanks for any suggestions.
It is possible you could implement a custom callbacks which are accessed via Jquery on your old site.
However....
Why would you do this, Drupal is a CMS for websites, if you have a static website, no matter how big it won't be too dificult to put it into drupal and look the same, even have the same URLs. You then get Drupal goodness wherever and whenever you want very easily.
You can always access your Drupal database in your external site to display whatever Drupal content you want.
You could build RSS feeds with Views and put a simple feed parser into your static site. But again, if you want more than simple RSS syndication, you are better off planning a migration path than partial Drupal integration.

Resources