Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Edit Homepage Blurb

  • Edit Post - Support Header Tags.

  • Rich View Redirect (URL)

  • Embed Post (Global Content)

...

Current Behavior: the system only stores one copy of “Post Content” this is stored as a string in the announcement API: PostInfo: string:Description We currently use javascript to strip the HTML down to plaintext and serve the frst couple of lines as plain text for the truncated description that appears on the homepage, then we show the full version when the post is opened.

Desired Behavior: Add a secondary string which is automatically generated when the description is changed, but allow users to manually alter this to be a customized string of their choice (with a limited character count of 200 characters and no line breaks)

Edit LogicUser Warning: If “Post Content” is edited and a custom blurb is present ask Ask the user on save if they would like to replace the custom blurb with a truncated version of their post content.

...

We want to add header tags to the list of supported HTML for the Edit Post (description) this will increase the compatability of our announcement descriptions with google docs, with minimal affect on the total HTML we’re adding. Currently the description strips all HTML that isn’t on a pre-approved whitelist of tags that are supported. Add the following tags to the allowed list for paste processing<h1>,<h2>,<h3>,<h4>,<h5> additionally please add the toolbar option to include headers in the selection.

UI Reference:

...

Redirect URL

Overview: With the advent of the “Branded Newsletter” feature in Connect we’ve introduced content that cannot be easily displayed inside of an announcement post. We’d like to add an additional string to PostInfo which will store the URL of “rich html” content i.e. posts that need a full website instead of a simple post content. This will allow us to add logic to certain front end options to link directly to the rich content instead of showing the link in the description (reducing the number of clicks required from the viewer to get to that content.)

...

The “Embed Post” button will provide an embed code which outputs the content of a single post. This embed code will be similar to the content provided in the “Share URL” unlike the share URL this content is intended to be added by developers to other catapult pages.

Example: https://www.egusd.net/announcements/?capostid=58750

The embed code provided by “share post” should be a stand alone HTML snippet which can be added to any catapult page via unrestricted code card (like a youtube embed)

This additional Button will be accessible from the “Share Post” screen.

Reference UI

...

Unlike other embed types which prompt users to select feeds, share URL etc, the embed post embed relates to a single post ID so shouldn’t need much additional info the next screen is the embed code:

...