[TYPO3-dev] Any good examples of automatic/programatic page generation?
Kay Strobach
typo3 at kay-strobach.de
Sun Jul 31 10:01:22 CEST 2011
Hi,
if you have a BE User instanviated, you can use tcemain ;)
http://typo3.org/documentation/document-library/core-documentation/
Regards
Kay
Am 29.07.2011 00:09, schrieb bernd wilke:
> On Tue, 26 Jul 2011 11:57:10 +0200 Mathias Schreiber [wmdb] 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/
>>
>> 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
>
> is it possible to do a (recursive) copy of a page and included
> (tt_content-)records _in_a_FE-plugin_?
> I would prefer to have some assistance from the core, otherwise I have to
> copy the records by hand, probably missing a lot of references.
>
> As I also will create/copy a BE-User, I probably can work in the contect
> of this user, so this user later on should not be allowed to create new
> pages.
>
> Or maybe I can build a queue to create these users and pages from a
> scheduler task as cli-script?
>
>
> the intended workflow should create/copy pages/records on submitting a FE-
> form. As the password of the BE-user will be mailed it could also be done
> by a queued scheduler task and the FE-user will have to wait a cron-
> cycle.
>
> bernd
--
http://www.kay-strobach.de - Open Source Rocks
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
Answere was usefull: https://flattr.com/profile/kaystrobach
More information about the TYPO3-dev
mailing list