Enonic Market Enonic Market
ContentHive icon

ContentHive

ContentHive simply creates dummy text and images for your Enonic XP applications.

Screenshots

Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but now it also takes the leap into the Enonic XP open source content generation domain, remaining essentially unchanged.

ContentHive is an application widget that lives in the left panel inside Enonic XP Content Studio. It iterates through the inputs of the currently selected content and lets you use the selected content as a template to create more content of the same kind, in slightly randomised variations. If the selected content uses an image input which contains the image '/myblog/image-gallery/animals/42-elephants.png', ContentHive asks if you want to use the folder path '/myblog/image-gallery/animals' to select [0-n] random images from that folder for each new content. If you just want to test, but don't have lots of african images laying around, you may register for a free Pixabay api key, enter it in the app config, and then select the folder and populate it with african animal images (Creative Commons CC0) from Pixabay.com by filtering on the 'nature' and 'animals' category or querying your favourite animal. You may even send them an e-mail and ask for access to full HD resolution images and use the images in your production site.

One purpose of generating random content is to see if your template takes into account different variations of text / html and related content. Also it saves time by not having to create stuff manually. When selecting format for Text and Html inputs, a number of checkboxes may be ticked (add links, add headers, bold/italic text etc.). If [n] boxes are ticked, then for each created content a random number [m] between 0 and [n] is chosen. [m] of the [n] available options will be selected randomly for this content. Also the length and number of paragraphs are randomised based on your configuration. F.eks. for a preface, 'short' and max 2 can be appropriate, but for body text you might want up to 10 'very long' paragraphs.

The plugin is free and open source. You may add a pull request or ask for new features or report issues at the public issue tracker at https://bitbucket.org/openxp/contenthive/issues.

Releases

  1. 1.4.1

    • Added "requireValid: false" in content.create to allow dummy content that is not 100% valid.
    • Compatibility:
      • 6.7.0
  2. 1.4.0

    • Tested with Enonic XP 6.12.0
    • Moved configuration to site.xml
    • Updated gradle configuration
    • Bug-fixes
    • Compatibility:
      • 6.7.0
  3. 1.3.0

    • Add support for Enonic XP 6.7
    • Added application svg icon
    • Fixed GUI bug appearing in 6.7
    • Compatibility:
      • 6.7.0
  4. 1.2.0

    • Add support for Enonic XP 6.6.0
    • Moved config from site to xp.home/config/openxp.app.contenthive.cfg
    • Fixed bug affecting generating content for HtmlArea
    • Compatibility:
      • 6.5.2
  5. 1.0.1

    • Add basic support for GeoPoint input type
    • Compatibility:
      • 6.5.2
  6. 1.0.0

    • Upgrade to Enonic XP 6.5.2 required to use content.modify for images
    • Adding tags, artist, copyright, caption to PixaBay images
    • Add support for using image tags in generated content
    • Add support for CheckBox input type
    • Adding lowercase checking on input types
    • Upgrade to gradle wrapper 2.13
    • Remove double nature entry in image categories
    • Compatibility:
      • 6.5.2
  7. 0.9.9

    • Refactoring
    • Add message and remove exception when ContentHive widget is open but not configured for current site
    • Compatibility:
      • 6.5.1
  8. 0.9.8

    • Access to full resolution images (with full api access) implemented
    • Compatibility:
      • 6.5.1
  9. 0.9.7

    • Add option to pre-select 'include' for checkboxes in app config
    • Compatibility:
      • 6.5.1
  10. 0.9.6

    • Create support for fetching more then 200 images at a time from PixaBay API
    • Compatibility:
      • 6.5.1
  11. 0.9.5

    • Add support for only using currently selected relatedcontent for all generated content
    • Compatibility:
      • 6.5.1
  12. 0.9.4

    • Add proxy setting to app config
    • Compatibility:
      • 6.5.1
  13. 0.9.3

    • Add support for images from Pixabay API
    • Compatibility:
      • 6.5.1

Comments