This is an updated version of the Yahoo bundle, renamed and packaged to include the two Wikipedia commands revised to use link builder templates. I revised the templates one more time to allow for insertion as snippets with just the title being set up for immediate editing. I changed all of the bundled commands to Insert as Snippet.
I included the simplest version of my modified google lucky linking command that grabs the title of the retrieved link, I can't remember how you guys felt about that, so do what you will with it.
I also modified the Yahoo commands to use the DIALOG environment variable. I've been using them lately and I have to admit, they're slicker than I thought they'd be.
Also...
My most useful (to me) blog linking commands require my related post xmlrpc Wordpress plugin, but if there's any interest, they allow for searching of your posts by selected text or input box, linking selected text to related posts on your blog, etc. Those commands haven't been updated for the link builder yet, but will be if it's added to the default distro.
On 11. Mar 2007, at 13:24, Brett Terpstra wrote:
This is an updated version of the Yahoo bundle, renamed and packaged to include the two Wikipedia commands revised to use link builder templates. I revised the templates one more time to allow for insertion as snippets with just the title being set up for immediate editing. I changed all of the bundled commands to Insert as Snippet.
Great, thanks! I am going to add this bundle to the repository and set you up with an account, let me know if you have a preferred username for svn.
I included the simplest version of my modified google lucky linking command that grabs the title of the retrieved link, I can't remember how you guys felt about that, so do what you will with it.
I think adding the title is good -- one problem with the command though is, that response.to_hash['location'] returns an array (of URLs), not a string. I’ll just add ‘.first’, but want to ensure you see the same behavior.
[...] My most useful (to me) blog linking commands require my related post xmlrpc Wordpress plugin, but if there's any interest, they allow for searching of your posts by selected text or input box, linking selected text to related posts on your blog, etc. Those commands haven't been updated for the link builder yet, but will be if it's added to the default distro.
I think this sounds useful -- though of course should go into the Blogging bundle. Not sure how Brad feels about adding commands for not just specific blog systems, but specific plug-ins for specific blog systems ;)
That said, I had a few problems with the command. Initially it gave me an error from WordPress, because the SQL sent did not have a limit argument (i.e. it did specify LIMIT, but no numeric value for it) -- I took the SQL expression (from the error) and ran that (with a LIMIT of 5) and then got: Can't find FULLTEXT index matching the column list. Do I need to maybe update the db schema/run some SQL magic to get such index?
Great, thanks! I am going to add this bundle to the repository and set you up with an account, let me know if you have a preferred username for svn.
Just brett unless it's already used. My "pseudonym" is ttscoff if necessary.
I think adding the title is good -- one problem with the command though is, that response.to_hash['location'] returns an array (of URLs), not a string. I’ll just add ‘.first’, but want to ensure you see the same behavior.
I hadn't seen that, I'll look more closely.
I think this sounds useful -- though of course should go into the Blogging bundle. Not sure how Brad feels about adding commands for not just specific blog systems, but specific plug-ins for specific blog systems ;)
That said, I had a few problems with the command. Initially it gave me an error from WordPress, because the SQL sent did not have a limit argument (i.e. it did specify LIMIT, but no numeric value for it) -- I took the SQL expression (from the error) and ran that (with a LIMIT of 5) and then got: Can't find FULLTEXT index matching the column list. Do I need to maybe update the db schema/ run some SQL magic to get such index?
I don't think the related posts commands should be included in the default distribution. They are, as you said, overly specific and require external plugins. I mentioned them only for the benefit of the list users. In regards to your issue, you do have to run the script that is included in the plugin that updates the db to handle a FULLTEXT search. It's a duplicate of the "Related Posts" plugin (used with express permission), so users who are already using that will not have to run the script again (won't be able to, actually).
On 11. Mar 2007, at 14:42, Allan Odgaard wrote:
[...] That said, I had a few problems with the command. Initially it gave me an error from WordPress, because the SQL sent did not have a limit argument (i.e. it did specify LIMIT, but no numeric value for it)
I see there is a config option for this -- I’d opt for using a default value, when the user hasn’t noticed he must set it ;)
I took the SQL expression (from the error) and ran that (with a LIMIT of 5) and then got: Can't find FULLTEXT index matching the column list. Do I need to maybe update the db schema/run some SQL magic to get such index?
I also see there is something for this in the config section for the plug-in :)
So the plug-in now works for me, and at first try, does appear to be very useful!
Sorry if this has already been asked -- couldn't find "Mako" in my stored messages.
Has anyone approached a Mako syntax, yet?
I know we have a Myghty one.
Mako's the successor to Myghty by the same author and removes all non- template things from Myghty and adds some cool tricks.
It's being picked up as the default template engine by Pylons (sometime soon).
Thanks,
S