From 35a9a468ceeb7b8e8b5ae2f026d3bdd76dff68be Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 28 Jan 2016 15:23:42 -0800 Subject: widget_item - provide ability to use the page title instead of the message_id to locate the desired item. You can use either, but the page title is often easier to use and discover. --- doc/Widgets.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'doc/Widgets.md') diff --git a/doc/Widgets.md b/doc/Widgets.md index 10fc75cf8..8442bf687 100644 --- a/doc/Widgets.md +++ b/doc/Widgets.md @@ -74,8 +74,11 @@ Some/many of these widgets have restrictions which may restrict the type of page * suggestedchats - "interesting" chatrooms chosen for the current observer -* item - displays a single webpage item by mid - * args: mid - message_id of webpage to display (must be webpage, not a conversation item) +* item - displays a single webpage item by mid or page title + * args: + * channel_id - channel that owns the content, defualt is the profile_uid + * mid - message_id of webpage to display (must be webpage, not a conversation item) + * title - URL page title of webpage (must provide one of either title or mid)
 
* photo - display a single photo -- cgit v1.2.3