[TYPO3-dev] Any good examples of automatic/programatic page generation?
Kevin Mitchell
kevin at infielddesign.com
Wed Jul 27 02:32:33 CEST 2011
Thank you so much for your response!
This looks like exactly the functionality I need for creating content
elements, however (please correct me if I'm wrong!) this doesn't seem to
cover the creation of actual pages, only data/content on the pages?
Looking at the "pages" table, it seems that it would be simple to generate
the actual pages programmatically, but again I want to do things the "right
way" as much as possible.
Thanks again for the response, I really appreciate it!
Kev
On Tue, Jul 26, 2011 at 2:57 AM, Mathias Schreiber [wmdb] <
mathias.schreiber at wmdb.de> wrote:
> Am 23.07.11 01:58, schrieb Kevin Mitchell:
>
> Now I'll likely need to do several passes on this to actually process the
>> data, match up TYPO3 page IDs with the custom object_ids that I've
>> generated, etc, but that's beyond the scope of this email and I can handle
>> that. The issue is figuring out the best method to generate these pages
>> and
>> sub pages programmatically, via a cron job which will run nightly. Ideally
>> I'll also kick off some sort of crawler to cache the pages that have been
>> updated to help with site performance.
>>
>
> Hi Kev,
>
> check this:
> http://blog.tolleiv.de/2010/**03/handling-data-in-typo3-**with-tcemain/<http://blog.tolleiv.de/2010/03/handling-data-in-typo3-with-tcemain/>
>
> Yes, it will be a bit slower, but in a CLI environment, this shouldn't be
> an issue.
>
> Good thing:
> Since all pages are created "as if" someone did it manually, you will have
> all the fancy stuff like history and such.
>
> And your code will be future proof.
>
> Don't bother if you didn't find anything via searching the web, you would
> have needed process_cmdmap() as a keyword :)
>
> cheers
> Mathias
>
>
> --
> Ernesto, Nov. 9th 2010:
> "In the graphics generation routines of TYPO3 *anything* could cause a
> side effect."
>
> ______________________________**_________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-dev<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev>
>
More information about the TYPO3-dev
mailing list