Print Page | Close Window

.htm and .html

Printed From: openElement Website
Category:

openElement


Forum Name: openElement General Discussion
Forum Description: A place for general discussion and questions about the software.
URL: https://forums.openelement.uk/en/forum_posts.asp?TID=21
Printed Date: Apr 20 2024 at 5:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: .htm and .html
Posted By: Bravo12
Subject: .htm and .html
Date Posted: Jun 07 2013 at 9:27pm
Hellò! I am a new user on your site and as many I have downloaded your software to try to do something avoiding the usual spending of time (after I check all codes handly). I have seen about this post and I am now here with a pair of questions in relation to the "saving".

Is it possible to save files with html extension in place of the here used htm? I tried but it always skips the final "L" . It is not very important, but as you know many servers at present time prefere the html 'cause it is a little newer than the only htm.

Second: I tried to say to the program to use my language (it) but in end it saves all files with name.extension.it. Could it be possible to save without the final "it"?

Thanks in advance for answering me. I really appreciate peoples when they use their time to give free things to the world community. Clap

[Moved to new topic for clarity]



Replies:
Posted By: Dmit OE
Date Posted: Jun 08 2013 at 10:12am
Hi, and thank you for joining us!

I hope Chris will answer you with more details later, as I don't have much time today; I'd just like to mention that openElement has its system of supporting several languages - go to Preferences - Translations (or Languages), and choose Italian; you can choose it by default, otherwise Itailan pages will have the name "pagename-it.htm".

Have good weekends

D


Posted By: Bravo12
Date Posted: Jun 08 2013 at 11:31am
Thanks for your answer, Dmit and again thanks to you all for the program. It will be shared.
It was exactly what I was saying, but I was asking if it possible after changed language, to save files with the only extension html without the it included. I already switched to my language, but the surprise was when I have seen the extension changed from pagename.htm to pagename-it.htm.

The other question was: why it saves only in htm and not in html (more used) as default? I tried to change to html, but after the program can't recognize files as done with it... is there a particular reason of keeping the old extension htm?

Last: there will be a chance to have the program also for Linux platforms? It could be a really great thing...believe me!

Regards: Bravo12


Posted By: Chris OE
Date Posted: Jun 09 2013 at 6:09am
Hi Bravo12,

Welcome to the forum and thank you for downloading openElement!

Click on Preferences and open the Translations tab.

Add whatever languages other than Italian you would like the page to be in.  Make sure you click "enable" on the languages you want to be active, and make Italian the "default."  Let's say you enable Italian and English...  Normally, this should create the page pagename.htm for Italian (default) and pagename.en.htm for English (not default).

If this gives you problems, let us know, we will do some more tests.  There is a workaround if it does not work as stated above.  On the Page tab of the Main Menu, click on SEO info.  There you will see a link to "Translate URL."  This will give you the option of entering a custom URL (URL rewriting) for each language the page is in (pagename.htm for english, nomepagina.htm for italian).  The only drawback is that you have to repeat the procedure for each page.

As for the other issue.  We will look into the .htm vs .html issue and get back to you soon.

Thank you again and happy building!

Chris

PS We are working on porting to Mac and Linux.  Stay tuned!


Posted By: Bravo12
Date Posted: Jun 09 2013 at 12:28pm
Thanks for your answer, Chris, but I already did all of what you said. The saving page gives me a nomepagina.it.htm and changing to a simple nomepagina.htm breaks the links on all other pages...

I think (but is only what I personally think) that could be better saving in the elanguage that user needs, but keeping same extension for all. Example: if I save for english or dutch or italian always will be pagename.htm(L), and only the text inside pages will be in the needed language, as th program too (I can help you in translation of all). This can't duplicate pages in two languages (as it happens now) and the user will have only and always a unique layer to work on, instead of two.

We will look into the .htm vs .html issue and get back to you soon.
I have seen many sites use again the internal html (sometimes xtml as the source of this page too). I hope that publishing the site on some server it will accepted with the old htm...

Here anothe question: if I already have a space on a server and I would upload the develope site I made, what part of the all I have to use? I have seen that it results always with lot of material and folders too and also it uses a way like nested sections. For this I don't know what I have to use to upload the done site to the server. Can you please let me know?

Thanks again for your patience, and the time used to answer me.

Regards: Bravo12


Posted By: Chris OE
Date Posted: Jun 09 2013 at 3:43pm
Hi Bravo12,

openElement is designed to automatically manage all internal links, updating them as necessary if you change a page's name (either through the Site Manager or using URL Rewriting as described above).  Just make sure you use openElement's Link Configuration form when creating internal links.

I conducted a test.  I took a web project and set the languages to English and Italian.  I set Italian to default.  Then I saved the page.  When viewing the page in Italian (current language can be seen at top of editing pane), I clicked preview and it opened the "Italian" page as NewPage.htm (default) and the English page as NewPage.en-us.htm.  

Can you show me a screenshot of where you encounter the problem?  Normally, if you use oE's link and language management system, you don't have to worry about broken links or file names. Check this Wiki page for more info:  http://wiki.openelement.com/en/index.php?title=Create_a_Multi-Language_Site" rel="nofollow - http://wiki.openelement.com/en/index.php?title=Create_a_Multi-Language_Site


.Htm should be fine on any server, but like I said, we'll look into it for you.


As for Publishing, you're more than welcome to use your existing web host or sign up for a new one. openElement has a built-in FTP uploader accessible through Preferences -> Publishing:  http://wiki.openelement.com/en/index.php?title=Publishing_Settings" rel="nofollow - http://wiki.openelement.com/en/index.php?title=Publishing_Settings

If you wish to use your own FTP app, use the Export to Folder button in the Main Menu -> Project tab.  Then upload all generated files to your web server.  The easiest thing to do is just enter your server information in openElement and let the software do the work.

Please continue following up.  We really want to help you resolve this problem.

Happy Building!

Chris


Posted By: Bravo12
Date Posted: Jun 09 2013 at 5:00pm
Mhhh, I'm repeating the test you tried before, but here I can't see any italian language of possible setting during first composition (before checking some template). Can it be that I haven't the package installed for my country ? It allows me to change/add flag language only after make the site and going in Preferences. I don't have other way... and probably for this the program saves as "nomepagina.it.htm"? Anyway is not such a big problem...I save in default and use links in my language.

Publishing: I use Firefox and FireFTP (extension of FF). But what I haven't understood is: do I have to publish / copy all site with all folders I did or what? I have seen there are folders I never will use, so it would be great not publish them...only for avoiding possible confusion to other friends who will enter with ftp.

Chris, thanks again for you kind patience. I hope also other peoples will find from these answer a correct way to use the program... ;-)


Posted By: Chris OE
Date Posted: Jun 09 2013 at 6:54pm
Hi Bravo12,

Just making sure you followed the right steps.  From a project:
Click on Preferences, Translations, enable Italian and click Default.  Then Apply, and OK.  After that, change text in "current language."  Switch between languages by clicking on current language button above editing pane.  To enable easy navigation between languages of website, drag element Website Flag to page. 

Preview of Italian language page (as default):

Preview of English language page:



Posted By: Chris OE
Date Posted: Jun 09 2013 at 7:02pm
Originally posted by Bravo12 Bravo12 wrote:

Publishing: I use Firefox and FireFTP (extension of FF). But what I haven't understood is: do I have to publish / copy all site with all folders I did or what? I have seen there are folders I never will use, so it would be great not publish them...only for avoiding possible confusion to other friends who will enter with ftp.

To reduce the risk of problems with the website, we recommend you transfer all files/folders of the site. We also recommend using oE for FTP.  But if you are using an external FTP app, then you can upload whatever files you want to put on your webserver.  If you feel there are unnecessary folders, try uploading everything and deleting the folders you do not want.  Keep testing the website to make sure it still works.  If you have any problems, try using oE to publish.


Posted By: Bravo12
Date Posted: Jun 09 2013 at 9:28pm
Thanks again, Chris. This is exactly what I did the first time. Anyway I have seen that I don't need change the language and I can save in htm with all text in my language without problems. What is worrying me is the publish of all the folders on the net. I would like to know the position, 'cause I have seen the program saves all css on the root of the folder, but if a check inside some other folder (subfolder) I see the same files... why this? I am used to make a foldser for every section and keep inside the needed files. This is for having a clean site... and here I don't know how to send the css file in that css folder on the root, 'cause the program saves as told.

Now I tried to insert here an image, but the panel gives me error 500 "internal server error" and I can't upload it... it say that the resource I'm looking for has problems and can't be uploaded...(Path: uploads/8104) http://forum.openelement.com/en/RTE_popup_adv_image.asp (translated from france language)  Confused.

Note: I'm (as told) using the program in english, so why a notice partially in fance?





Posted By: Chris OE
Date Posted: Jun 09 2013 at 10:36pm
We're having issues with image uploads on the forum.

Try using  http://imageshack.us/" rel="nofollow - http://imageshack.us/  and making the image suitable for message board.

openElement's file system is meant to be as neat and organized as possible. It could cause problems if users specified the location of the support files (js, css, etc.)  So the location of items and the folder structure will be dictated by how you organize your website in the Site Explorer (to the right of the editing pane). Tip: Create folders for each section, and the Htm and support files will be saved in the corresponding folder.

As for the French, openElement was conceived in France and is now taking over the world ;)


Posted By: Bravo12
Date Posted: Jun 10 2013 at 11:30am
Here is the folder as example.

http://imageshack.us/photo/my-images/401/filesc.jpg/" rel="nofollow">

Anyway I'll follow your suggestions and I'll try to move everything there. I only hope I will not have to do all again... LOL


Thanks again Chris!



Posted By: Dmit OE
Date Posted: Jun 10 2013 at 11:36am
Hello.

I think there's an important point missing:

>> Publishing: I use Firefox and FireFTP (extension of FF). But what I haven't understood is: do I have to publish / copy all site with all folders I did or what?

Never publish the contents of your project folder. There are 2 ways to publish your site:

1) Directly with the menu Project at the top -> button Publish
2) Same menu -> Export to folder, to generate the version of your site to be published online; the resulting folder is named Upload_xxxx. You can then upload its contents using tools like FileZilla.

Best wishes
D


Posted By: brian
Date Posted: Jan 28 2016 at 3:44am
it can be fixed 2 ways temporarily until a permanent saving fix is created.  what i did was go to the open element folder in explorer, selected project name and renamed all htm to html then opened the program and uploaded to my server.   however, when you close open element or re-save, they all are renamed to htm again.  thus a temp fix.

Second temp solution, is just rename and use stand-alone ftp prog,  but again useless if one is to update the project as names will only save as htm.

what happens is index opens as htm but when open project calls other pages it calls for them as html when in fact it only saved them as htm.

so, either the option of page call needs fixing, or the save option needs fixing, maybe even a "save as" option might work.

If i let the project self upload, it wont call any of my htm pages it made, so it only called them up successfully after i renamed them .html

will be an easy glitch to fix,  other than that teether, I rank it as the best universal free design program.


Posted By: Dmit OE
Date Posted: Jan 28 2016 at 8:32am
If one renames pages manually, all inter-page links will be broken, so they need to be modified manually too. Much more efficient way is to use redirection or URL rewriting in .htaccess, there are example on the Web.


Posted By: Bravo12
Date Posted: Jan 28 2016 at 9:39am
As wrote Dmit there are more elements to be changed and the only htm to html is not enough 'cause you should touch also all css and layers too. I suggest to wait till the developers will change to html the project. It's a better and safer way Wink


Posted By: Dmit OE
Date Posted: Jan 28 2016 at 12:44pm
This may take a while or never be done..


Posted By: Trimount
Date Posted: Jul 07 2016 at 3:22am
My site has been using HTML for years and I don't want to lose links by changing to HTM. I've read the posts above and I'm afraid I'll have to find another web development program to use instead of openElement. Does anyone have any suggestions? I really like using WYSIWYG (I'm not a programmer and need a program that generates the code automatically). Any ideas/help would be appreciated. Thanks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net