Giter Club home page Giter Club logo

Comments (12)

andrewscofield avatar andrewscofield commented on June 10, 2024

Are you trying to put all new posts or already existing posts to parse?

from parse.com-php-library.

bluesmokellc avatar bluesmokellc commented on June 10, 2024

The posts are created in Wordpress. I just need a script that will update the Parse Database when a post is created or deleted. It could be just a cron job that wipes the slate clean every night and re-submits all of the posts.

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 10, 2024

I might be able to do the work, it just depends on what you mean by ASAP :)

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 10, 2024

Either way, the process is relatively simple. You write a function that takes a post_id and you use wordpress functions to get the title, content, etc. Then you would use the parseQuery class to first look for that post_id in parse, so we don't create duplicated. Then use the parseObject to add/edit the title, content fields.

You can then use the function either in a cron job or use wordpress hooks to have it called anytime a post is added to updated or deleted.

I don't yet have tutorials :( You can check out this folder though to see how this library is supposed to work:

https://github.com/apotropaic/parse.com-php-library/tree/2.0/master/tests

from parse.com-php-library.

bluesmokellc avatar bluesmokellc commented on June 10, 2024

Is this something you could write in a couple of hours? I have to have
this done by the end of the day.

On Aug 3, 2012, at 1:02 AM, apotropaic
[email protected]
wrote:

Either way, the process is relatively simple. You write a function that takes a post_id and you use wordpress functions to get the title, content, etc. Then you would use the parseQuery class to first look for that post_id in parse, so we don't create duplicated. Then use the parseObject to add/edit the title, content fields.

You can then use the function either in a cron job or use wordpress hooks to have it called anytime a post is added to updated or deleted.

I don't yet have tutorials :( You can check out this folder though to see how this library is supposed to work:

https://github.com/apotropaic/parse.com-php-library/tree/2.0/master/tests


Reply to this email directly or view it on GitHub:
#27 (comment)

from parse.com-php-library.

bluesmokellc avatar bluesmokellc commented on June 10, 2024

Well, I still couldn't figure it out. How long would it take you to write a script? And what would it cost?

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 10, 2024

I'm not sure I could even have it done this weekend. Got heavy workload right now. I was hoping you had a little more time then end of day. It would be probably take 2-3 hours to write the script itself but I would probably spend another couple hours just researching that I had all the right wordpress functionality sorted out and doing testing.

from parse.com-php-library.

bluesmokellc avatar bluesmokellc commented on June 10, 2024

I definitely need it done before the end of the weekend. Would $200 be enough to get that done? Maybe you can recommend someone else to do it. I've already been let down by 3 different programmers who said they could do this for me. I really just want it off my plate.

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 10, 2024

Sorry, I can't promise end of weekend at all. I'll give it a shot tomorrow and see what I can come up with, but I am thinking I don't have the time.

from parse.com-php-library.

bluesmokellc avatar bluesmokellc commented on June 10, 2024

Thanks. I will continue to try and wrap my head around it.

from parse.com-php-library.

bluesmokellc avatar bluesmokellc commented on June 10, 2024

It looks like we resolved the issue by creating a Wordpress plugin (by we, I mean this guy that I hired in the eleventh hour).

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on June 10, 2024

Great to hear! I do think it could be a cool little wordpress plugin if was developed out to have a number of features.

from parse.com-php-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.