I have a wordpresss blog where i post a lot of stuffs. Sometimes a few people do write contents for me. They usually write it on google docs and they send me a link.
I would like to write a small plugin whereby on each post there is an option to input the google doc link for an article and pressing a button brings the post onto the wordpress editor.
I much confused about how to proceed with the google docs api part? what is the easiest way to achieve the import ?
Try docs-to-wordpress plugin
This plugin will grab docs out of a collection in Google Docs, create or update a post in WordPress and then move the doc to a new collection. Google Docs no longer supports xmlrpc, so this is perhaps the easiest way to move content from your Google Docs account to your self-hosted WordPress install.
Here's a Google script that will convert a Google Doc to a nice clean html email, that you can copy and paste in a Wordpress editor.
http://omaralzabir.com/googledocs2cleanhtml/
Hope this helps. I have been looking for a solution for a long time. Finally, had to spend some time and make one for myself, as I use Google Docs for authoring my blog posts.
My company just released this Google Drive app. It automatically uploads your Google document to WordPress, including all your images. It also adjusts all the formatting to fit your blog's theme.
Related
I am totally new in this concept. I received a task in which I need to create Moodle plugin for course.
In my course I have two sections where Only videos will be uploaded by teacher. I want to create a plugin to use user webcam while they are playing that video and capture the screenshot. For example, they click on play then webcam will start. so, my question is.
is this possible? and where should I start doing development like in local folder? or in mod folder. I just need some guidance from where I need to start. although I have a simple core code written by myself in php and JavaScript where I can start video when user play video. but I want to integrate that into Moodle, but I don't know from where to start.
I did some research, but it shows the activity plugins should be in /mod folder but I don't know how I should start.
Here's the documentation for developing an activity plugin - although it can be complicated if you are new to Moodle
https://docs.moodle.org/dev/Activity_modules
If you are new to Moodle, there is a free beginners course here for developers
https://moodle.academy/enrol/index.php?id=64
Also recording video isn't an easy task - its always worth checking to see if a plugin already exists - here are contributed plugins
https://moodle.org/plugins/?q=record%20video
Poodll is a popular set of plugins, they already have one for recording video
https://moodle.org/plugins/qtype_poodllrecording
Maybe use one of those as the basis for your plugin
I´d like to use the Facebook Comments plugin for my website.
As Facebook is offering this as an iFrame, the actual comments are not part of my content.
Therefore I am looking for a solution to read the comments and render them into my website.
So far with no luck.
There is an older article, which also links to code that seemed to work.
https://moz.com/blog/make-facebook-comments-box-indexable-by-search-engines
However, changes on the Facebook side seem to have made that code unusable. Has anyone found a new solution for this?
Maybe via curl or file_get_contents or even the official API?
Please note, I am referring to the comments plugin for URLs (https://developers.facebook.com/docs/plugins/comments/)
not comments from Facebook Pages or Profiles.
I'm trying to find some information/documentation on creating a custom Facebook feed for any website. (Custom css etc) but there is nearly nothing to find. I want to read posts from a public facebook page and display them on my website in an owl carousel.
The only guide I found was outdated since facebooks developers page completely changed and the other guides are all for Wordpress.
Does anyone know any good guides, or can anyone help me in the good direction?
Thanks
Example code and information can be found in the API reference:
https://developers.facebook.com/docs/graph-api/reference/page/feed#read
I suggest using an App Token on the server, it is valid forever. If you don´t know about the different Tokens, here are some links:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
Side Note: To get pictures, you can use the full_picture field: /page-id/feed?fields=full_picture
I'm looking to have a gallery on my website that contains the images from my Instagram account. I haven't been able to find my resources that explain the process of interacting with the API for this purpose. Can anyone point me in the right direction? Ideally the gallery would have folders by month, sort of like an archive feature.
Did you check this out? It seems straightforward.
http://snipplr.com/view/58083/
You can use the Instagram API and create a Javascript solution manually. But this will take time.
The API that you need is -
https://api.instagram.com/v1/users/{user-id}/media/recent/?access_token=ACCESS-TOKEN
Or You can directly use a simple plugin like Youmax-PhotoMax.
PhotoMax will create an Instagram Gallery from your user account. The Archiving feature you will have to add manually into it. But most of features like filtering images based on #user or #hashtags will already be present in there.
You can check out the demos here.
I want to add a function to my PHP/mysql/jQuery website.
The function is that if user paste a link in a input box,
the server will retrieve all representative pics
just as facebook does.
Is there any PHP code project or jQuery plugin satisfying my demand?
There are lots of services.
Take a look at websnaper for example:
or just google it
It is not hard to write your own from scratch.
Facebook uses the Open Graph Protocol - it retrieves the page and then looks for special meta tags that describe the images associated with that page (og:image).
I guess you can write a basic HTML parser that would do the same.
EDIT: Someone has already written an Open Graph parser