Flashpress 0.8 Features

I’m currently rebuilding my noponies illustration site with Flashpress and of course a WordPress backend.

I’ve added in some new features to Flashpress as I’ve worked through the site, these are related to the data returned by each PostVO object, I’ve tried to make it a little simpler to get what you need from this object, without needed to go back to WordPress for simple stuff, like a posts tags.

So, I’ve added in the following to the post vo object:

1 / If the post has a featured image, the URL to it is included, otherwise its an empty string
2 / The posts tags are listed (if it has any) as an array of TermVo Objects
3 / The posts categories are listed (if it has any) as an array of TermVo Objects
4 / The posts attachments are listed as an array of their URLS.

The addition of tags and categories makes filtering the returned data quite easy.

Are there any other features that people want? I was looking at the user authentication aspect of WordPress at work last week, and was wondering if people have the need to be able to authenticate users? Possibly useful for adding comments etc?

1/ I think I’ll add a user authentication method, it wont really log a user into wordpress, but it would be useful for testing user access rights etc. Thoughts?

Once I finish my noponies illustration site, I’ll release the source files, so that there are some richer examples of what can be done with Flash and WordPress.

11 Neighs about “Flashpress 0.8 Features”



Rive Neighed:

Really appreciating the work you’re doing here… somehow for every new release I need to reformat the VO’s to validate in Flex Builder 3 AS3 projects. I guess because you auto generate all these classes?

Dale Neighed:

Oh do you, by reformat what do you mean?

The classes are manually created in Flash.

pieter Neighed:

Sounds very promising! I’m going to give it a try.
Would it also be possible to use Flashpress for SEO of a Flash site? For example Google indexes all the WordPress content. When clicking the Google search results, the visitor gets redirected to a Flash version of the blog with the same content. If this visitor doesn’t have Flash installed, he/she will get the regular WordPress site.
What do you you think?

bassta Neighed:

Hi Dale, I tries it today, but it doesnt’ seems to be working. I’m testing it on Localhost and really got problems. I set up everything like in the picture, my Structure is:

htdocs/wordpress…
htdocs/FlashPressZend
htdocs/services
htdocs/Zend (default Zend folder)

I’m using Zend and in my confon file ( DB_CONNECTION = new NpDbConnection(“http://localhost/FlashPressZend/wp_gateway.php”);
)

When I open the http://localhost/FlashPressZend/wp_gateway.php I got the message: “Zend Amf Endpoint”

In the wp_gateway.php file (in FlashPressZend folder) i got

error_reporting(E_ALL|E_STRICT);
ini_set(“display_errors”, “on”);
//path to your webserver root
ini_set(“include_path”, ini_get(“include_path”) . “:../”);
require_once(‘../Zend/Amf/Server.php’);
//path to your service
require_once(‘../services/flashpress/WpMethodsService.php’);

/*************************************************************************************
***
*** WORDPRESS CONFIGURATION
**
*************************************************************************************/
/**
* Include the WordPress config files
*/
//this is required to bootstrap wordpress
$configFile =’../wordpress/wp-load.php’;

//if you want write access you must define this variable here
//set this to false to disable write access to your wordpress install
define(“WPWRITEABLE”, “true”);
//then you must link to admin file here
$wpAdminFile = ‘../wordpress/wp-admin/includes/admin.php’;

if (!file_exists($configFile)) {
throw new Exception(‘WordPress wp-load.php file was not found!’);
}else{
require_once ($configFile);
}

And When I compite I got:

Error opening URL ‘http://localhost/FlashPressZend/wp_gateway.php
NetConnection.Call.Failed

Do you have any idea how I can get it working?

Dale Neighed:

Sounds like it should be working fine. Seems like Flash can’t find the URL to your gateway file. You have allowed the domain etc to avoid any security issues right?

Dale Neighed:

Yeah, with a little bit of javascript detection you could do something like that.

bassta Neighed:

Well it is on my localhost, I tried with crossdomain.xml file, but it’s still not working. But the idea is great, there’re almost no open surce and free flash CMS systems and wordpress + zend is so damn fast…

bassta Neighed:

@Pieter:

Write me at “burnandbass [at] gmail . com” , I got an JS/AS3(swfaddress) classes for flash seo that can help you

@dale – the problem was that actually I use 127.0.0.1 instead of “localhost” and forgot to change it.. It is working now and I’m just starting to playing with it. It looks soooo promesing and fast.. love yor code, Dale, it helped a lot of people…

beachboy Neighed:

Hi Dale,
Thank you for sharing your flashpress.
I don’t want to stress you but I wonder if this project still alive ?
Maybe you actually surf :)
Please give us some news.
Cheers

Dale Neighed:

@Beachboy

Yep, its still alive. I just need some time to get back to ironing out some bugs in the 0.8 release, then I’ll release it.

Leave a neigh?