Re: Possible to create a gzip xml file?

2010-10-15 Thread 5942marine
Thanks, I think that's what I'm going to have to do, I've done this
already, but it's just a php script that I run off a cron job. Was
hoping their was some type of build in functionality to do this
natively with cakephp.

Thanks Everyone!

On Oct 15, 1:14 pm, Raisen  wrote:
> You can use the Zlip functions:http://php.net/manual/en/book.zlib.php
>
> On Oct 15, 8:42 am, 5942marine  wrote:
>
> > I've been doing some reading and so far, haven't found a solid answer.
> > My question lies around gzip andxml. Is it possible to create axml
> > file using cakephp that is compressed? like /sitemap.xml.gz
>
> > I have it working just fine if you hit /sitemap.xml, but I'd really
> > like that ability to take that dynamic file, compress it, and store it
> > assitemap.xml.gz
>
> > Thanks for all your suggestions!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Possible to create a gzip xml file?

2010-10-15 Thread Raisen
You can use the Zlip functions: http://php.net/manual/en/book.zlib.php

On Oct 15, 8:42 am, 5942marine  wrote:
> I've been doing some reading and so far, haven't found a solid answer.
> My question lies around gzip and xml. Is it possible to create a xml
> file using cakephp that is compressed? like /sitemap.xml.gz
>
> I have it working just fine if you hit /sitemap.xml, but I'd really
> like that ability to take that dynamic file, compress it, and store it
> as sitemap.xml.gz
>
> Thanks for all your suggestions!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Possible to create a gzip xml file?

2010-10-15 Thread j.blotus
you could use exec() to create a gzip, then serve that

On Oct 15, 11:42 am, 5942marine  wrote:
> I've been doing some reading and so far, haven't found a solid answer.
> My question lies around gzip and xml. Is it possible to create a xml
> file using cakephp that is compressed? like /sitemap.xml.gz
>
> I have it working just fine if you hit /sitemap.xml, but I'd really
> like that ability to take that dynamic file, compress it, and store it
> as sitemap.xml.gz
>
> Thanks for all your suggestions!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en