[#234] provide "tiny html preview" of users profiles for consumers based on a specific requested content-type

Description

Summary:

Detailed description

The idea is to provide a "tiny html preview" of users profiles in FusionForge. It will be delivered to consumers who request it using a specific Accept header in the HTTP request, "Accept: application/html+preview" for instance. Consumers that may request this are ajax widgets/popups when a FusionForge user is "hover-ed" with the mouse. The returned profile is something like the user avatar, a short title, ...

General Information
Submitted by:
Sabri LABBENE
Date Submitted: 2010-12-17 13:55
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Date Closed: 2012-10-28 10:08
Permalink: https://fusionforge.org/tracker/a_follow.php/234
Actions
Monitor
Votes: 0/1 (0%)
Internal Fields
Data Type: Feature requests
Assigned to: Sabri LABBENE (labbenes)
State: Closed
Priority: 3
Extra Fields
Resolution:
none
Difficulty:
none
Target release:
5.2
Follow-up tabs
Message  ↓
Date: 2011-03-23 13:15
Sender: Sabri LABBENE

Implementation is primarily available in trunk and provides a compact view of user in a tooltip when hovering a user link. It is based on a GET request to user home page but with 'application/x-oslc-compact+xml' accept header. It is oslc plugin who responds by giving the compact user ressource with 'application/x-oslc-compact+xml' as a response Content-type. The client side (javascript) then parses the returned xml:RDF compact ressource and gets the html tiny preview URI and place its content in a tooltip.

Date: 2011-03-23 13:05
Sender: Olivier Berger

I'd suggest to implement support for the 'scriptacceptedtypes' and 'contentnegociateduser_home' hooks proposed in #286, so that the plugin accepts redirection in such a way.

See attached suggested patch

Date: 2011-03-23 11:36
Sender: Olivier Berger

Note that a first implementation is now committed in 5.1 branch, implemented by the oslc plugin

Date: 2011-01-26 09:46
Sender: Olivier Berger

Maybe http://www.libravatar.org could be useful. FWIW

Date: 2010-12-17 14:33
Sender: Sabri LABBENE

tiny html preview on .../project/x is to be delivered too if specific content-type was requested.

Date: 2010-12-17 14:25
Sender: Sabri LABBENE

This feature is also supposed to provide OSLC compatible RDF+JSON or RDF+XML when a user is hover-ed. Specific Content-Types should also be requested for these.

Date: 2010-12-17 13:58
Sender: Olivier Berger

Would be interesting to integrate gravatar icon in the preview maybe

Date: 2010-12-17 13:57
Sender: Olivier Berger

It would be great if the content-type would conform to the OSLC Core specification for preview content-type.

Attachments:
Size Name Date By Download
1 KiBhooks.patch2011-03-23 13:08
Olivier Berger
hooks.patch

No related commits.

Field Old Value Date By
status_idOpen2012-10-28 10:08
Franck Villaume
close_dateNone2012-10-28 10:08
Franck Villaume
Target release5.12012-10-28 10:08
Franck Villaume
File Added184: hooks.patch2011-03-23 13:08
Olivier Berger
assigned_tonone2011-03-23 10:00
Olivier Berger
Target releaseNone2011-03-23 10:00
Olivier Berger

No relations found.