[Pro] Authoring my First Action: Problems

I decided to get off my lazy chair and learn how to write actions. I chose to make an action that will implement some of the event microdata found at schema.org.

Long story short, I can’t get the <action-pop-up> to work for me. Freeway spits out this error for each of the pop-up options:

PARAMETER NOT IN A TAG. The following parameters are not in a tag. They will be ignored.
Tag: “value name=“Event Title” value “name””

Here’s the code. Keep in mind that this action is (as I’m sure you can tell) barely started. However, this error is keeping me from progressing. For example, I have yet to attach a value to the “Event Date” option.

<action name="Microdata" preview-text="&Text;">

<action-pop-up name="Microdata Type">
	<value name="Event Title" value="name">
	<value name="Event Date">
</action-pop-up>

<action-text name="Text">

<span itemprop="&Microdata Type">&Text;</span>

</action>

Also, when I use the pop-up example code from the WritingActions pdf, I get the same error. I’m assuming that there must be something wrong with my syntax somewhere.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Variables (usually) cannot have spaces in their names. Try this (to get the look in the interface that you want):

<action-popup name="type" title="Microdata Type">
<value title="Event Title" name="name">
...
<./action-popup>

Then refer to it in your code as fwParameters['type']. The label will say Microdata Type, as you like, and the Action won’t get confused. Also note that you need to set the name property to the desired value, and the title property to the label that will appear in the picker. It’s a funny old API, isn’t it?

Walter

On Jan 28, 2013, at 1:14 PM, Caleb Grove wrote:

I decided to get off my lazy chair and learn how to write actions. I chose to make an action that will implement some of the event microdata found at schema.org.

Long story short, I can’t get the <action-pop-up> to work for me. Freeway spits out this error for each of the pop-up options:

PARAMETER NOT IN A TAG. The following parameters are not in a tag. They will be ignored.
Tag: “value name=“Event Title” value “name””

Here’s the code. Keep in mind that this action is (as I’m sure you can tell) barely started. However, this error is keeping me from progressing. For example, I have yet to attach a value to the “Event Date” option.

&Text;

Also, when I use the pop-up example code from the WritingActions pdf, I get the same error. I’m assuming that there must be something wrong with my syntax somewhere.


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,

Thanks for the help, but I’m still getting those error messages. Also, I forgot to mention that the pop-up menu is not even showing in the action palette. This is my code now:

<action-pop-up name="type" title="Microdata Type">
	<value title="Event Title" name="name">
	<value title="Event Date">
</action-pop-up>

<action-text name="Text">

<span itemprop=fwParameters['type']>&Text;</span>

</action>

On another note, is there a way to add comments to the action code?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

popup is one word, not pop-up. Change that and you should get things the way you want them.

Walter

On Jan 28, 2013, at 1:41 PM, Caleb Grove wrote:

Walter,

Thanks for the help, but I’m still getting those error messages. Also, I forgot to mention that the pop-up menu is not even showing in the action palette. This is my code now:

<span itemprop=fwParameters[‘type’]>&Text;

On another note, is there a way to add comments to the action code?


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Walter,

You are amazing. The annoying part is that I spelled it exactly how Softpress did in their documentation. I think it needs to be updated!


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

That so reminds me of times in a previous version of this forum when a
younger Walter Davis would point out the adverse effect my
mis-spellifications would have on things.

Lol, they still do!


Ernie Simpson

On Mon, Jan 28, 2013 at 2:19 PM, Caleb Grove email@hidden wrote:

Walter,

You are amazing. The annoying part is that I spelled it exactly how
Softpress did in their documentation. I think it needs to be updated!


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

So, an inexperienced designer here, but with the interest of making my logo appear in searches, ie schema.org, I found this recent article with info on this markup to include, but where do I place this?

The tag markup looks like this:

Home

Many, many thanks!


actionsdev mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options