I use mod rewrite for categories (with cat.names not numbers). I want to generate static copies of the categories. Is this possible? If yes, what should be the variable for the generation url? I think {CATSTATICNAME} wouldn't do it, because that's only used in generating HTML versions..
Generating static pages has nothing to do with mod_rewrite, so I really don't have any idea what you're talking about. {CATMODREWRITE} is the mod_rewrite path, but that has nothing to do with static pages (some category names would break a static file, and besides {CATSTATICPATH} exists for the purpose of static files, but you really shouldn't need to use that anywhere either since it's automatic, so I have no idea what you're doing).
(I thought mod rewrite would affect the path to the cats, that's why I was asking about it,sorry.) Ok, I only want to generate static versions of all categories, but I can't. That's all.
There are two areas in the admin/static file generation section:1)The URL of the page which the static version will be created, 2)Renaming the static page.
What should be the correct entry to these two fields, to generate static versions of all categories?
(Sorry if this sounds dumb, but I'm confused about this.I use a static index page, renamed to index.htm; and it works fine. I also want to generate static versions of each category. That's it. Hope this makes it clear?)
The individual static page generation function is completely different from the generalized (and optionally automated) HTML generation. Read the manual entries.
I did, but couldn't find anything directly about "static file generation". That is why I posted in the forum. When I search the term "static" in the manual, these are the results I get: -Category Variables -Allowed memory size of 8388608 bytes exhausted -Maximum execution time of 30 seconds exceeded -RSS Feeds -JavaScript Export
I guess the help in the admin panel is all it has. Regardless, 'generate html' is for generating a static html copy of your directory. 'static file generation' is for individual pages.
Comments on Mod rewrite and static file generation
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
I use mod rewrite for categories (with cat.names not numbers). I want to generate static copies of the categories. Is this possible? If yes, what should be the variable for the generation url? I think {CATSTATICNAME} wouldn't do it, because that's only used in generating HTML versions..
Sorry if I missed something about this.
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
For one category named "Computers-Internet", I tried this:
URL of the static page:
http://localhost/wsn/Computers-Internet
Rename the page:
Computers-Internet.htm
Yes, the file is generated, but do I have to do this all manually for 49 more categories? There must be another way, but how?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Generating static pages has nothing to do with mod_rewrite, so I really don't have any idea what you're talking about. {CATMODREWRITE} is the mod_rewrite path, but that has nothing to do with static pages (some category names would break a static file, and besides {CATSTATICPATH} exists for the purpose of static files, but you really shouldn't need to use that anywhere either since it's automatic, so I have no idea what you're doing).
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
(I thought mod rewrite would affect the path to the cats, that's why I was asking about it,sorry.)
Ok, I only want to generate static versions of all categories, but I can't. That's all.
There are two areas in the admin/static file generation section:1)The URL of the page which the static version will be created, 2)Renaming the static page.
What should be the correct entry to these two fields, to generate static versions of all categories?
(Sorry if this sounds dumb, but I'm confused about this.I use a static index page, renamed to index.htm; and it works fine. I also want to generate static versions of each category. That's it. Hope this makes it clear?)
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The individual static page generation function is completely different from the generalized (and optionally automated) HTML generation. Read the manual entries.
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
I did, but couldn't find anything directly about "static file generation". That is why I posted in the forum. When I search the term "static" in the manual, these are the results I get:
-Category Variables
-Allowed memory size of 8388608 bytes exhausted
-Maximum execution time of 30 seconds exceeded
-RSS Feeds
-JavaScript Export
Again, sorry if I'm missing something.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
I guess the help in the admin panel is all it has. Regardless, 'generate html' is for generating a static html copy of your directory. 'static file generation' is for individual pages.
Member
Usergroup: Member
Joined: Oct 17, 2004
Total Topics: 13
Total Comments: 44
Hmm..So there's no easy way to generate static pages for all categories. I have to generate pages one by one for each category manually.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Once again, the "Generate HTML" page is for generating a static version of the whole site (ie categories, comments and link details).