Since College Publisher doesn’t give its clients access to their own databases or the web server, to do many things (like adding any new feature) requires working around it on auxiliary servers they provide running LAMP.

One feature that CP desperately needs is the ability to create a block of related stories.

So I struggled with the problem a little bit and created a little script to let totally non-tech savvy editors create a block of code to paste in.

You can see a demo of it here.

Related links generator

The source code is here. To run it, your server must allow fopen to open url’s.

Source

This is the first time I’ve released the code of anything I’ve written, so give me some feedback!