Has anyone done any work towards this? I saw a few discussions saying it would be cool and figured I'd ask before I went off and started writing it next week. My use case is to have purl urls automatically generated based on workflow states. This would essentially allow for developmental and staging environments within a Spaces / Purl setup based on the naming convention that was automatically generated. I also don't have experience moding purls after they have been created but seems like it should be a simple rewrite of the value db side.
I'm not sure currently if this will be a reusable integration but I think that would make the most sense if the purl field would allow for prepopulation based on tokens. I could then use workflow to dictate how that changes after the fact but it would still be using tokens to generate the different addresses based on the workflow changes. It's just whether that is 1 or 2 modules to accomplish that.
Comments
Comment #1
btopro commentedI started down the token integration path and ended up being able to accomplish what I wanted via Workflow + Rules + PHP filter. Nothing like 20 lines to replace a whole new module being created. Here's an example of this working in case anyone would stumble on this issue -- http://bit.ly/mGUoGz