Comments (12)
Are you trying to put all new posts or already existing posts to parse?
from parse.com-php-library.
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.
I might be able to do the work, it just depends on what you mean by ASAP :)
from parse.com-php-library.
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.
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.
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.
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.
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.
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.
Thanks. I will continue to try and wrap my head around it.
from parse.com-php-library.
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.
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)
- Reason for inclusion of all files? HOT 2
- Undefined property: stdClass::$code at line 267 in parse.php when "parse.com error: unauthorized" HOT 1
- Fatal error: Uncaught ParseLibraryException: [103]: parse.com error: class name must be a string thrown HOT 1
- Join two classes data HOT 2
- Many-to-Many relationship
- subscription always shows as 0 when send notification to android using reset api
- HELP URGENT on update row on User class using rest api
- saving or updating only works on string fields HOT 1
- cant save date to date field in parse HOT 2
- Failed to connect to api.parse.com port 443: Timed out HOT 1
- Issue with file upload HOT 1
- File Upload HOT 1
- I am trying to send a push notification using query where objectId equals to HOT 1
- how to write like oparator?
- How do I just get an array of everything in a table? HOT 4
- Cant save simple data
- how search file parseConfig.php? HOT 1
- how filter this error ?
- matches query in parse php
- Modified For Drupal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from parse.com-php-library.