The Omni Group Forums

The Omni Group Forums (
-   OmniOutliner 3 for Mac (
-   -   .html extension on dynamic html export (

pairustwo 2011-09-02 12:57 PM

.html extension on dynamic html export
Can someone help me understand why, when I export an Omni Outliner project to dynamic html it creates a folder with the .html extension (which is hidden by default)?

When I upload this folder via FTP I need to delete this extension from the folder so that web servers treat it as a folder - containing the actual html and support files.

Am I missing something? Doesn't this need to be deleted in order to function as an online resource? Is there a purpose for a FOLDER extension in the online world (I know oo3 files and many others are actually folders to OS X)?

I'm asking because it is a pain to remember to delete the extension before uploading.


pairustwo 2011-09-09 08:11 PM

How about this? Can someone help me cook up a script that would strip off the .HTML extension from the folder?

whpalmer4 2011-09-10 01:17 PM

Why not just select the folder in the Finder, bring up the Get Info window with command-I and remove the .html extension?

pairustwo 2011-09-10 01:53 PM

[QUOTE=whpalmer4;101594]Why not just select the folder in the Finder, bring up the Get Info window with command-I and remove the .html extension?[/QUOTE]
'Cause it is a pain and seems so unnecessary. Plus after I do that the next time I update my outline and export the changes I end up with two copies of my folder, one with the extension and one without. Simply deleting the extension won't work because there is already a folder with that name.

Perhaps it seems silly if I needed to do it once but I create outlines of course units, each section being a lesson. Each course has many units. These unit outlines are modified and updated often. Other teachers access them online. So this process gets repeated over and over.

Here is what I cooked up with Automator:
1. Look in folder A
2. Select anything with the .HTML extension
3. Move selection to folder B
4. Strip the extension
5. Move back to folder A and overwrite the previous virsion
6. Transmit uploads the new folder containing the index.HTML files to my web host.

All times are GMT -8. The time now is 08:14 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.