Release Notes

Initial Release

 

Note that this likely works on 1.9 but has not yet been tested.  One issue with 1.9 is the default .htaccess will make the .well-known/host-meta unreadable.  Anyone using this on 1.9 will need to override that behavior.

  • i've been reading through the oexchange pages and they are demoing some features that i hadn't seen them demo previously. so i'm not 100% clear on what i can do with oexchange now and also what this plugin supports.

    am i correct to think that in addition to this plugin i would really need to create embedable sharing buttons that use javascript to forward browsers to the oexchange sharing endpoint on my site, before this plugin is of much use?
    can i create a button on my site which others use to add my site to their list of sharing options when their sharing tool is rendered on their own website?
    is an option to contact the existing sharing apps, like addthis.com and add my endpoint to their lists?

    + does this plugin replace the existing bookmarklet page? and does it forward only to the bookmark 'add' page in elgg?

    it would be great to know all this in advance since there is a quite a scope with this protocol.

  • It doesn't do anything new in terms of bookmarking, if the bookmark plugin is active it will use that by default, but I'm assuming that most people would have some custom wall or something it would be shared to (hypewall or the like) instead.  The bookmarks integration was just a quick add-on as a demo for how it should work.  I built it with extensible plugin hooks so a helper plugin can add the unique sharing capability of a site.

    Yes the intention is that you can use this meet the requirements of adding your site to addthis.com or any other oexchange service.

    You can use the endpoint for internal linking, but the idea is that you're having external content shared with your site.  No need for oexchange if it's internal :)

  • ok, so without writing any new code that uses your hooks, i would need to over-ride the bookmarklet view and replace the link in there to this new link, as a minimum. then i would need to also contact other sharing sites like addthis and give them the url and icon etc.

    i notice that there is no plugin options page for this plugin being shown locally here in 1.8 elgg, yet the plugin description page describes the existence of an admin page. is this a bug or an error in the description text?

    i just tested the endpoint and successfully opened the bookmark page with the url, great! :)

  • i notice that if i share to the site while not logged in, i am taken to a different login page to the standard login page. why is that?

    i just changed line 21 in the page_handlers.php file to forward to 'login', so that the standard login page is used.

  • the obvious extension for me to suggest with regards the plugin hook is to identify video links that match those that are supported in videolist and forward those to the videolist page instead of the bookmarks page.
    maybe there are other plugins that would benefit from this interface too (that i don't use much), like maps or even events?

  • i notice that if i share to the site while not logged in, i am taken to a different login page to the standard login page. why is that?

    So you can potentially have custom content there for informing a new person about sharing on your site.  Custom content can be added via the plugin settings.

    the obvious extension for me to suggest with regards the plugin hook is to identify video links that match those that are supported in videolist and forward those to the videolist page instead of the bookmarks page.
    maybe there are other plugins that would benefit from this interface too (that i don't use much), like maps or even events?

    Absolutely, that's why I created the hook system in the plugin.  The plugin hook receives all information passed from the share service including ctype - which is probably what you would want to check for things like images/videos.

  • oh ok, i see - i didn't think of the need to deal with people sharing to the site who don't know how the site functions.

    thanks for the tips

  • For the record, I just registered a site with addthis.com using this plugin.  All of the automated oexchange testing tools passed, so it's up for manual review.  I'll let you know how it goes.  Apparently the manual review is 6-8 weeks :|

  • oh ok, great! i sent them a support message since i was unable to locate the correct page to use to inform them of my site's endpoint while searching their site.
    do you have the url on their site still available?

  • ah ok, thanks. though i just ran their test functions on my site and i received back:
    "No target XRD URLs were found"

    i'm thinking that this is related to the fact that i am not seeing an admin page for the plugin on my installations of elgg.

  • Is it installed to the right directory?  should be mod/oexchange

    1.8 doesn't enforce the plugin id

  • aha, right! the plugin folder had the version number on the end of it - so i removed that and now the plugin page is rendering correctly.

    i filled in the data in the admin page and placed the host-meta file in the right place and set the permissions on the file. now the test harness passes my site. yay!

    now to the submit page. thanks again for this code, it's so useful.

  • lol.. just saw the old oexchange thread.. i gave up back then since i had more pressing needs to attend to.

    i just submitted my site to addthis but the page says that the XRD file cannot be opened.. even though their test harness passes the site on both tests.. weird. did you have such issues?

  • no, everything passed on my submission.  I haven't heard back from the manual review though, that email will end up with my clients first.

  • @Arck Interactive, We have needs of a SCREENSHOT for your plugin, because I have activate but I don't see his/her/its functionality in my ELGG 1.8

  • You cannot see the functionality, it's all in the background and intended to be read by other external services.  This is not a user facing feature, therefore you can't really take a screenshot of it.

    This is a tool intended for developers.

  • i got a reply from addthis. their processes do not support totally https sites presently, so they are unable to parse and connect to my website. they have an open ticket there to resolve this soon.

  • We found some errors in your Target Descriptor. Please edit the XRD file on your domain and correct the following errors to proceed.
     
    Target XRD URL http://connectgalaxy.com/oexchange/oexchange.xrd
     
    Title Its all about yourself and your world
     
    Name Connect Galaxy
     
    Prompt Send to Connect Galaxy
     
    Vendor Connect Galaxy
     
    Endpoint http://connectgalaxy.com/oexchange/share
     
    Icon image
     
    Icon32

    image

     

     

    Does anyone have any idea how to fix this?? I am getting an error @ the end point.
    Elgg 1.9.8

  • Does anyone knows how to fix this for 1.9.8 ???

  • How to make this plugin work for Elgg 1.12 .. Plz kindly help me so that i will fix this & upload it in the community so that it might be of benefit for our community.. 

  • i have run this plugin with elgg versions from 1.9 through to 2.1. i don't remember making any changes to it and it just works for me. maybe you haven't configured it completely.

  • Thank you ura soul: 
    ​i just want know how to override it to make the .well-known/host-meta readable.
     
    Note that this likely works on 1.9 but has not yet been tested.  One issue with 1.9 is the default .htaccess will make the .well-known/host-meta unreadable.  Anyone using this on 1.9 will need to override that behavior.

Arck Interactive

You imagine. We create. We develop custom social networks, content management systems and other rich internet applications. We help entrepreneurs and creative agencies breathe life into their visions. Let's start a conversation!

Project Info

Stats

  • Category: Third Party integrations
  • License: GNU General Public License (GPL) version 2
  • Updated: 2015-1-1
  • Downloads: 292
  • Recommendations: 1

Other Projects

View Arck Interactive's plugins