Flash Press

Update – 04-12-2009
I’ve been reworking these files to support wordpress 2.9, and to move away from interacting on the wordpress database directly. Rather I’m simply using native wordpress methods directly and returning results that way. I’ve also built in a method for calling any of the various wordpress methods available and not supported directly in any of my code.

I’ll get the new files up as soon as I can. Oh, and I’m gonna come up with some new name, as there is an existing project that although seems dead, shares the same name..

I’ve only looked at working with ZendAMF, it looks like AMFPHP is pretty much dead. Heh, I cant even get the method browser to run on my machine anymore…

Flash Press is simply an AMFPHP and Zend_AMF service for connecting to Wordpress.

The purpose of the project is to allow for using Wordpress as a CMS for Flash websites etc.

Currently it only supports read operations from the Wordpress database. However, I do want to look at adding write support.

Source Files
You can view an example of it at work here: http://www.noponies.com/dev/cloud/
Which is using a hacked version of the WP-Cumulus Wordpress plugin, from here: http://www.roytanck.com/tag-cloud/. Instead of using a PHP method to create XML, I’m just using AMFPHP to call a getTagCloud method, and using the data in a similar fashion to how the WP-Cumulus Flash file works. Clicking on either a category (white text) or a tag (grey text) calls another method that pulls the various posts that are filed under that particular category or tag. Pretty simple stuff.

Version History – Current version 0.2
0.1 – AMFPHP support
0.2 – Zend_AMF support

Source Files
Flash Press (1983) -

Requirements
Wordpress 2.7+ (untested on versions below 2.7)
Either or;
AMFPHP 1.9
Zend AMF 1.75

Let me know if there are bugs etc. I’m not really a PHP guy, nor a MYSQL guy, so I’m definitely interested in hearing about ways to improve things. This page is simply to stop the project getting buried within all the other posts on this blog.

Other Related Projects
Amfphp WordPress Integration (AWI)
FlexPress
FlexDb

24 Neighs about “Flash Press”



Flash Press by NoPonies : CODEXPERIMENTS Neighed:

[...] It’s still in development but a nice project they are working on, so have a look. [...]

Antony Kitson Neighed:

Hey Dale,

Could you use this for flash to read blog posts? I am looking to feed a wordpress sites posts into flash. Is this possible?

sean Neighed:

Hey There,
Thanks and Great work with this. I’m looking forward to using this to read/write to word press. Any idea when the service will support the write feature?

Cheers!

Dale Neighed:

I’m in two minds about adding in write support, as wordpress itself is such a nice cms. I guess it makes sense for flash to be able to write the odd thing to the wp db, but I’m not sure if I want to replicate wordpress’s write features.

sean Neighed:

i hear ya. Maybe just a few of them? like for posting? If you need a little more motivation let me know. Working on something right now and I can get you a little something for your troubles…

Sean Neighed:

Hey can you give me a holler? I’d like to discuss further dev on the framework…sgreen[at]wishb.com

Bruno Fenzl Neighed:

HI Dale!

First, thanks for the mind blowing material!
I was trying to use your files with zend, but I donĀ“t really know how to integrate your code with zend… could you give us a light?

all the best !
bruno

Eric-Paul Neighed:

Man what a pain to get Wordpress to communicate with Flash in a fairly straightforward way. Thank you for the relief of your amfphp service, it worked on the first try, and the comments are great! No more XML-RPC, no more atom feeds, just AMF the way it’s meant to be.

Cheers,
Eric-Paul.

Kevin Neighed:

Hi Dale,

I’m just starting out with this, setting up the “simple_demo” and I keep getting these errors. I can see what it’s asking for but don’t know how to fix, pls help.

mysql_connect(): Access denied for user ‘apache’@'localhost’ (using password: NO)

Kevin Neighed:

actually, scratch that, founf the ConnectionHelper.php file.

is there any source files for anything inbetween the simple demo and the cumulus_demo. Big jump between the two, be good to get my head around some middle ground? Thanks!

Dale Neighed:

@kevin,

No, nothing in between the two sorry.

epologee.com blog » Blog Archive » Wordpress as a CMS for Flash sites Neighed:

[...] and changed so often, it’s hard to find something online that works with the current version. No ponies’ Flash press looked promising, even using AMF to speed up things, but it’s no longer compatible with the [...]

Robotlegs and flashpress | NoisyDesign.com Neighed:

[...] these nice utilities that that guy Dale at noponies.com rolled called “flashpress” (found here). I can’t remember if I’ve ever written a post about this, but the name basically says [...]

Peter Neighed:

Hello, wonderful class, yet I can’t bend my mind over this oddity.

If you have an image with a caption in a wordpress post,
how do you trace out the caption data single handed?

Because when you trace out your object[i].post_content
you see a [caption = url…. title=”…”) but how do i access that title ?

I could post some code here but I don’t want to mess up the layout here. A friend advices to rewrite the string that this class parses out… but we can’t find anywhere where this happens.

So in short: how can I trace out the attribute of an encapsulated image in a blogpost via flash_press class

Thank you.

Dale Neighed:

Oh, getting an images attributes from within a post, as opposed to looking up the image directly. I’d have to have a look into that as I’ve not actually tried to do it.

Peter Neighed:

Dale, I found a way of doing this. But it would demand some recoding of the way things are parsed out.
Could you please contact me email is on my site or the name here.
We could discus this over skype 4.1 through screen sharing.
Its a long explanation but it should be doable.
I tried to email you but every mail i found returns a daemon.
(delete this comment if you feel to, its irrelevant, don’t wanna mess up the site)

Thank you & i understand if you don’t find the time for it.
Peter

Wordpress + Flash Integration = ??? « Pixellovin Neighed:

[...] http://www.blog.noponies.com/flash-press/ Recent stuff, works with the latest versions of Wordpress, supports either AmfPhp or Zend amf. [...]

lucas Neighed:

Thanks for the files, looks great, as for the name, why not Wordprash… ;)

PS: I have post about your work
(http://www.pixellovin.com/actionscriptstuff/wordpress-flash-integration#more-392)

geo Neighed:

Is there a way to grab a posts title AND first image? I see there is a there are separate services that do it (by ID). I have been trying like crazy to get my banner to show the first image and title..

Tim Neighed:

Hi Dale,

I had been casting around for a while, looking for the best way of having a blog in a website I’m putting together, and this really seems to fit the bill.

Excellent stuff – really looking forward to the next update.

Tim

jeff Neighed:

http://www.press2flash.com/ Similar I think? Were you still working on this?

Erwan Neighed:

Hi, I developed and just released kind of a similar project to yours : http://www.press2flash.com/
It’s interesting to see how you developed something completely different than I did, started from the same concept!

Dale Neighed:

@Erwan,

Yeah it is interesting that we both tackled the same problem. A few other people have tried the same thing in the past. I see that you went the XML method, I thought about doing that, but got sucked into using AMF. I should get the next update out soonish.

Dale Neighed:

@Jeff,

Yeah similar, that one is XML based and more of an AS framework. Yeah, I’m still working on it, actually did some work on it today. Wont be long.

Leave a neigh?