• thought I'd share this Synchronet -> Wordpress Module I cobbled together

    From LaRRy LaGoMoRpH@GRUDGEDU to All on Wednesday, August 13, 2014 23:31:06
    Hey hey there folks, I whipped something up for my own purposes that may be of use to maybe one or two people in the world, and if they're out there, they're probably here. So without further adieu, here's my first I suppose it would
    be called module. It basically just allows you to interface with wordpress posts, Create, read, update using simple javascript objects. You don't really need to be too advanced with javascript to be able to do something with this module, but the more you know the more use you'll get out of this module, because it's up to you. Oh yeah, and you'll need to install the proper plugin for the Wordpress rest-API (see comments in source code).

    Anyhow, hopefully someone enjoys this, but I know I will. I love Synchronet, but I also try to use wordpress for web stuff because it's so easy. hell, i probably don't need to advertise wordpress though. following this rambling will be a link to the code, and if you try it out or think it's cool or i should shove it let me know.

    https://github.com/chairmanmow/synchronetWP-API

    cheers,

    llmorphg

    p.s. just because i'm sharing this doesn't mean i'm supporting it in any
    way... that doesn't mean i won't work on it... i'm just working on it for my own purposes...

    ---
    ■ Synchronet ■ telnet to utureland.grudgemirror.com and check out our website for a sneak pre
  • From nolageek@CAPSHRIL to LaRRy LaGoMoRpH on Thursday, August 14, 2014 11:33:33
    Re: thought I'd share this Synchronet -> Wordpress Module I cobbled togeth
    By: LaRRy LaGoMoRpH to All on Wed Aug 13 2014 11:31 pm

    suppose it would be called module. It basically just allows you to interface with wordpress posts, Create, read, update using simple javascript objects. You don't really need to be too advanced with

    This is pretty interesting. I use wordpress for my website (capitolshrill.com!) and would like a way to "sync" some posts from a certain Sub (announcements, etc...)

    Looking forward to what comes next with this!

    |01-|03nolageek


    ---
    ■ Synchronet ■ Capitol Shrill BBS - Washington, DC - capitolshrill.com
  • From Khelair@TINFOIL to LaRRy LaGoMoRpH on Thursday, August 14, 2014 11:11:52
    Re: thought I'd share this Synchronet -> Wordpress Module I cobbled togeth
    By: LaRRy LaGoMoRpH to All on Wed Aug 13 2014 23:31:06

    there, they're probably here. So without further adieu, here's my first I suppose it would be called module. It basically just allows you to interface with wordpress posts, Create, read, update using simple javascript objects. You don't really need to be too advanced with javascript to be able to do something with this module, but the more you know the more use you'll get out of this module, because it's up to you. Oh yeah, and you'll need to install the proper plugin for the Wordpress rest-API (see comments in source code).

    Dude that's absolutely awesome. I've been toying around with ideas about utilizing some of the social APIs in my system, too. Not just for posting content, but doing some automatic searching and automated poasting of certain types of content based on specified criteria, as well.

    Anyhow, hopefully someone enjoys this, but I know I will. I love Synchronet, but I also try to use wordpress for web stuff because it's so easy. hell, i probably don't need to advertise wordpress though. following this rambling will be a link to the code, and if you try it out or think it's cool or i should shove it let me know.

    Checking it out already. :)

    ---
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet or ssh -p 2222 to tinfoil.synchro.net
  • From LaRRy LaGoMoRpH@GRUDGEDU to nolageek on Thursday, August 14, 2014 22:53:20
    Re: thought I'd share this Synchronet -> Wordpress Module I cobbled
    togeth
    By: LaRRy LaGoMoRpH to All on Wed Aug 13 2014 11:31 pm

    suppose it would be called module. It basically just allows you to interface with wordpress posts, Create, read, update using simple javascript objects. You don't really need to be too advanced with

    This is pretty interesting. I use wordpress for my website (capitolshrill.com!) and would like a way to "sync" some posts from a certain Sub (announcements, etc...)

    Looking forward to what comes next with this!


    I think being able to sync subs is just a matter of how creative you get with it. I don't think you'd really necessarily need this module to cobble something together, I actually think I've cobbled some things together using the listserver function on synchronet where you can email to a message board.
    I guess you can subscribe to wordpress sites via email, and that might be one way. i think i did it using some rss feed to email service. Anyhow, it's definitely possible to some extent, but I would suppose if one were familiar with the Synchronet message objects it's probably trivial.

    The cool thing is it kinda opens you up to exploiting wordpress plugins for your bbs too. Since I have things like social media updaters on my wordpress site by category for instance, if I wanted to publish something across facebook,twitter, tumblr, google + I probably can leverage a solution that someone already built-in. If you wanted to make posts on login for instance,
    or when someone got a high score on a game or whatever action you can do whatever.

    I didn't crack the full API or anything, there are endpoints and routes that aren't handled. You can handle users for instance with the API, which I could see opening up some cool things, but I have no interest in that for my
    purposes right now, and I'm probably the most imaginative on this frontier right now (wordpress + synchronet cross functionality). I'm not sure how long or why I would do it if I did add more stuff though. But I'll probably find out as I build out my app that uses this module and update the github accordingly. It definitely can be extended and if anyone wants to try have at it. ;) Also, I'm just using basicAuth because I was having a hard time installing some stuff on my WP server, so I probably will update that in due time.

    blah blah blah i'm glad you're interested though!

    supercheers,
    llmorphg

    ---
    ■ Synchronet ■ telnet to utureland.grudgemirror.com and check out our website for a sneak pre
  • From LaRRy LaGoMoRpH@GRUDGEDU to Khelair on Thursday, August 14, 2014 23:09:29
    Dude that's absolutely awesome. I've been toying around with ideas about utilizing some of the social APIs in my system, too. Not just for posting content, but doing some automatic searching and automated poasting of certain types of content based on specified criteria, as well.

    Anyhow, hopefully someone enjoys this, but I know I will. I love Synchronet, but I also try to use wordpress for web stuff because it's so easy. hell, i probably don't need to advertise wordpress though. following this rambling will be a link to the code, and if you try it out or think it's cool or i should shove it let me know.

    Checking it out already. :)

    ---
    ■ Synchronet ■ Tinfoil Tetrahedron BBS telnet or ssh -p 2222 to tinfoil.synchro.net

    Cool :) This already has gained more of a response than I thought it would. Didn't know you used wordpress. It was a good learning experience to get to work with a REST API using http.js; I think it will serve me well in the future. I tried to get into the twitter API as well after I got into this
    one, but I think I wasn't able to succeed because I wasn't able to find a POST method in the Synchronet libraries that worked over httpS (note the S). Which I think means I need to learn (or steal ) some more PHP to make that happen so I can pass the plain http requests through my web server and then into twitter or whatever. I could be wrong though as far as my understanding of the best way to solve that problem is. That might work for me though as I'm getting pretty comfortable with the javascript.

    Anyhow, I'm rambling, but I encourage you to play around and make things for synchronet that are useful. I know that's an outrageous thing to say but it's true!

    heheh

    llmorphg

    ---
    ■ Synchronet ■ telnet to utureland.grudgemirror.com and check out our website for a sneak pre