Easy with the derogatory tone, Jeremy. If I knew how to connect to the WP 
database, and if I was experienced enough with Cake to do this, I probably 
wouldn't have posted my question in the first place.

I don't expect to get everything for free, but thanks for making that 
assumption. What I meant by wanting an existing plugin/component is that 
this task isn't important enough for me to invest hours and hours of my 
time. If I can find an existing tool to get the job done, I'll use it. 
Otherwise I'll move on down the road.

To clarify my goal with this post - I am a Cake newbie and would like to 
know if anyone (other than Jeremy) has experience pulling posts from a 
(non-hosted) WP Blog into a Cake website, and can will point me to some 
good documentation on how to do it.


On Thursday, April 12, 2012 11:25:54 AM UTC-5, jeremyharris wrote:
>
> 1. If you can't connect to the database how do you expect to pull data 
> from it?
> 2. You can't expect to get everything for free, sometimes you need to 
> write code. It wouldn't be that hard, as I said, depending on how in depth 
> you want to be.
>
> There are no plugins out there that I know of that do this for you. Try 
> http://plugins.cakephp.org/ 
>
> Lastly, if you don't want to connect to the database try looking into 
> reading the RSS and pulling the posts from that.
>
> On Thursday, April 12, 2012 9:21:40 AM UTC-7, creat1v1ty wrote:
>>
>> Thanks Jeremy - I'm not sure if I can connect to the WP database. I was 
>> hoping someone could point me to an existing plugin/component that does 
>> what I need it to do. I'm not interested in writing something from scratch.
>>
>>
>> On Thursday, April 12, 2012 9:29:29 AM UTC-5, jeremyharris wrote:
>>>
>>> As long as you can connect to the WP database, I don't see why this 
>>> would be that hard. Just set it up as a separate database connection, set 
>>> up some models and you're good.
>>>
>>> It really depends on how crazy you want to get. For example, do you want 
>>> to form relationships that get the meta info, taxonomy, etc? If so, it's 
>>> not impossible but will take some thought because WP doesn't use Cake 
>>> conventions. Cake is plenty flexible enough to handle it, though.
>>>
>>> On Wednesday, April 11, 2012 8:17:48 PM UTC-7, creat1v1ty wrote:
>>>>
>>>> I have a Blog set up through wordpress.com and would like to be able 
>>>> to pull a few posts into my website (built using Cake).
>>>>
>>>> I've done some research and have found many articles related to 
>>>> CakePHP/Wordpress, however all of them so far deal with running a hosted 
>>>> version of WP, rather than integrating content from a non-hosted WP Blog 
>>>> into a Cake site.
>>>>
>>>> Does anyone have experience with this?
>>>>
>>>> Thanks in advance.
>>>>
>>>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to