Return to Jive Software

Skip navigation
1,950 Views 11 Replies Last post: Dec 3, 2009 12:53 AM by kevin.imber RSS
jochemd Beginner 250 posts since
May 6, 2009
Currently Being Moderated

Oct 28, 2009 1:31 PM

Documentation for the 'broken' HTML from the rewrites

Sometimes the internal rewrites in Jive produce broken HTML. For instance if somebody posts a message that only contains a emoticon, I download the following HTML through the webservices:

<body><p><span __jive_emoticon_name="laugh" __jive_macro_name="emoticon"></span></p></body>

 

Obviously this is not going to render correctly. Where can I find documentation for all the possible __jive_* attributes in the rewrite output tso that I can restore them to valid HTML suitable for rendering?

kevin.imber Jive Employee 2,726 posts since
Oct 19, 2009
Currently Being Moderated
Nov 18, 2009 1:58 PM in response to: Jochem van Dieten
Re: Documentation for the 'broken' HTML from the rewrites

Hey Jochem,

 

You're right, those attributes aren't valid html, so I've filed a bug in our system under the ID CS-17612.  Until then, it looks like you'll just have to work with the values that we use per version.  I looked around, and I couldn't find any documentation on how our emoticon's html was done, so I just used the RTE to get the html for the emoticons under 4.0 and 3.0.10.  They are listed below.  If you want the emoticons for any other versions, just make a document in the RTE, put all of the emoticons in it, then switch to html mode.  That will give you the emoticon html that we'll give you in the returns from your web services calls.

 

Thanks,

Kevin

 

4.0 emoticons:

 

<img src="/4.0.0/images/emoticons/happy.gif" jivemacro="emoticon" ___jive_emoticon_name="happy" />
<img src="/4.0.0/images/emoticons/laugh.gif" jivemacro="emoticon" ___jive_emoticon_name="laugh" />
<img src="/4.0.0/images/emoticons/silly.gif" jivemacro="emoticon" ___jive_emoticon_name="silly" />
<img src="/4.0.0/images/emoticons/wink.gif" jivemacro="emoticon" ___jive_emoticon_name="wink" />
<img src="/4.0.0/images/emoticons/plain.gif" jivemacro="emoticon" ___jive_emoticon_name="plain" />
<img src="/4.0.0/images/emoticons/angry.gif" jivemacro="emoticon" ___jive_emoticon_name="angry" />
<img src="/4.0.0/images/emoticons/blush.gif" jivemacro="emoticon" ___jive_emoticon_name="blush" />
<img src="/4.0.0/images/emoticons/confused.gif" jivemacro="emoticon" ___jive_emoticon_name="confused" />
<img src="/4.0.0/images/emoticons/cool.gif" jivemacro="emoticon" ___jive_emoticon_name="cool" />
<img src="/4.0.0/images/emoticons/cry.gif" jivemacro="emoticon" ___jive_emoticon_name="cry" />
<img src="/4.0.0/images/emoticons/devil.gif" jivemacro="emoticon" ___jive_emoticon_name="devil" />
<img src="/4.0.0/images/emoticons/grin.gif" jivemacro="emoticon" ___jive_emoticon_name="grin" />
<img src="/4.0.0/images/emoticons/love.gif" jivemacro="emoticon" ___jive_emoticon_name="love" />
<img src="/4.0.0/images/emoticons/mischief.gif" jivemacro="emoticon" ___jive_emoticon_name="mischief" />
<img src="/4.0.0/images/emoticons/sad.gif" jivemacro="emoticon" ___jive_emoticon_name="sad" />
<img src="/4.0.0/images/emoticons/shocked.gif" jivemacro="emoticon" ___jive_emoticon_name="shocked" />

 


3.0.10 emoticons:

 

<img src="/images/emoticons/happy.gif" jivemacro="emoticon" ___jive_emoticon_name="happy" />
<img src="/images/emoticons/laugh.gif" jivemacro="emoticon" ___jive_emoticon_name="laugh" />
<img src="/images/emoticons/silly.gif" jivemacro="emoticon" ___jive_emoticon_name="silly" />
<img src="/images/emoticons/wink.gif" jivemacro="emoticon" ___jive_emoticon_name="wink" />
<img src="/images/emoticons/plain.gif" jivemacro="emoticon" ___jive_emoticon_name="plain" />
<img src="/images/emoticons/angry.gif" jivemacro="emoticon" ___jive_emoticon_name="angry" />
<img src="/images/emoticons/blush.gif" jivemacro="emoticon" ___jive_emoticon_name="blush" />
<img src="/images/emoticons/confused.gif" jivemacro="emoticon" ___jive_emoticon_name="confused" />
<img src="/images/emoticons/cool.gif" jivemacro="emoticon" ___jive_emoticon_name="cool" />
<img src="/images/emoticons/cry.gif" jivemacro="emoticon" ___jive_emoticon_name="cry" />
<img src="/images/emoticons/devil.gif" jivemacro="emoticon" ___jive_emoticon_name="devil" />
<img src="/images/emoticons/grin.gif" jivemacro="emoticon" ___jive_emoticon_name="grin" />
<img src="/images/emoticons/love.gif" jivemacro="emoticon" ___jive_emoticon_name="love" />
<img src="/images/emoticons/mischief.gif" jivemacro="emoticon" ___jive_emoticon_name="mischief" />
<img src="/images/emoticons/sad.gif" jivemacro="emoticon" ___jive_emoticon_name="sad" />
<img src="/images/emoticons/shocked.gif" jivemacro="emoticon" ___jive_emoticon_name="shocked" />

kevin.imber Jive Employee 2,726 posts since
Oct 19, 2009
Currently Being Moderated
Nov 19, 2009 11:18 AM in response to: Jochem van Dieten
Re: Documentation for the 'broken' HTML from the rewrites

Jochem,

 

It doesn't seem to be possible to get the version info without admin privileges.  I've filed a feature request for a new web services call to give that information out under the ID CS-17629.  As for documentation about how our encoding works, I'm not finding anything yet.  I'll keep looking, and let you know if I find something that can help you.  Let me know if you have any other questions.

 

Thanks,

Kevin

kevin.imber Jive Employee 2,726 posts since
Oct 19, 2009
Currently Being Moderated
Nov 24, 2009 2:06 AM in response to: Jochem van Dieten
Re: Documentation for the 'broken' HTML from the rewrites

Hey Jochem,

 

Unfortunately, I don't think we have documentation on encoding or similar topics.  We've been incredibly busy lately in support, but hopefully we'll be able to respond to your other case soon.

 

Thanks,

Kevin

kevin.imber Jive Employee 2,726 posts since
Oct 19, 2009
Currently Being Moderated
Dec 2, 2009 2:19 AM in response to: Jochem van Dieten
Re: Documentation for the 'broken' HTML from the rewrites

Hi Jochem,

 

I've changed some of the details of the bug report for you, and I've given it a bump for your recent requests, but the bug priority is something that the engineering team decides based on their time and where they need to go with it, so I won't change that.

 

Thanks,

Kevin

kevin.imber Jive Employee 2,726 posts since
Oct 19, 2009
Currently Being Moderated
Dec 3, 2009 12:53 AM in response to: Jochem van Dieten
Re: Documentation for the 'broken' HTML from the rewrites

Hi Jochem,

 

I've added those versions to the bug.  The name was fixed on the first update.  Let me know if you have any other questions.

 

Thanks,

Kevin

More Like This

  • Retrieving data ...

Bookmarked By (0)

Case Product Issues

Loading Jira issues

Loading related product issues for this case
To better serve our customers we have included functionality to automatically follow up on a case after it has been idle for more than 5 days, and then auto close after an additional 3 days of inactivity. Choose No to acknowledge that this case will remain idle for longer than 5 days.
Making cases public allows other customers to learn from the solution of the case. It can also be used to gain feedback from others in the community. Ask our Support Engineers for more info, but we encourage you to make your cases public.