London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Per Nergård (MVP)
Sep 10, 2015
  1712
(1 votes)

Tool for creating page content in a web site.

This year I've been doing quit alot of writing specifications and testing implemented solutions and doing sprint-demos. Much of the work consists of entering content, and prepping content.

In an earlier post I did a small tool that made it possible for developers to use shorthand to generate lorem ipsum content. It's atleast some help but still dummy data.

So I have created another tool. The idea of the tool is that it should be easy to select any number of "template pages" for all or some pagetypes and then just click the go button to let the tool find all pages for that type and replace it's content with a randomly selected "template page".

You can set the start page from where the tool should start to work and "template pages" are added to a content area propert (all in forms mode). Template pages are grouped by type and it's possible to create content for on or many page types.

Usage scenarios: Create content for a demo or internal test, you could also use it to quickly debrand a entire site.

Example:

Start screen (In this case Ive only added one page for the standard page type and pointed it to a shallow structure).

Image ContentCreatorStart.jpg

The "template page" Per Original

Image PerOriginal.jpg

The page that's going get new content (Note that EPiServer builtin properties like PageName etc aren't replaced).

Image PageToBeReplaced.jpg

Start screen after tool is done

Image ContentCreatorEnd.jpg

And finally the page after it got it's content replaced

Image PageAfterReplace.jpg

Code is available at bitbucket.

Sep 10, 2015

Comments

Please login to comment.
Latest blogs
Optimizely Frontend Hosting Beta – Early Thoughts and Key Questions

Optimizely has opened the waitlist for its new Frontend Hosting capability. I’m part of the beta programme, but my invite isn’t due until May, whil...

Minesh Shah (Netcel) | Apr 23, 2025

Developer Meetup - London, 21st May 2025

The London Dev Meetup has been rescheduled for Wednesday, 21st May and will be Candyspace 's first Optimizely Developer Meetup, and the first one...

Gavin_M | Apr 22, 2025

Frontend hosting for PaaS & SaaS CMS

Just announced on the DXP, we FINALLY have a front end hosting solution coming as part of the DXP for modern decoupled solutions in both the PaaS a...

Scott Reed | Apr 22, 2025

Routing to a page in SaaS CMS

More early findings from using a SaaS CMS instance; setting up Graph queries that works for both visitor pageviews and editor previews.

Johan Kronberg | Apr 14, 2025 |