Return-Path: X-Original-To: apmail-incubator-wookie-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-wookie-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48B9A9AC2 for ; Fri, 13 Jan 2012 11:53:19 +0000 (UTC) Received: (qmail 16889 invoked by uid 500); 13 Jan 2012 11:53:18 -0000 Delivered-To: apmail-incubator-wookie-dev-archive@incubator.apache.org Received: (qmail 16768 invoked by uid 500); 13 Jan 2012 11:53:15 -0000 Mailing-List: contact wookie-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: wookie-dev@incubator.apache.org Delivered-To: mailing list wookie-dev@incubator.apache.org Received: (qmail 16734 invoked by uid 99); 13 Jan 2012 11:53:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 11:53:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 11:53:11 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 80B2723888FE; Fri, 13 Jan 2012 11:52:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1231026 - in /incubator/wookie/trunk/widgets/templates/widgets/twitter: item_summary_template.html widget.properties Date: Fri, 13 Jan 2012 11:52:50 -0000 To: wookie-dev@incubator.apache.org From: scottbw@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120113115250.80B2723888FE@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: scottbw Date: Fri Jan 13 11:52:50 2012 New Revision: 1231026 URL: http://svn.apache.org/viewvc?rev=1231026&view=rev Log: Use summary HTML template in twitter widget Added: incubator/wookie/trunk/widgets/templates/widgets/twitter/item_summary_template.html Modified: incubator/wookie/trunk/widgets/templates/widgets/twitter/widget.properties Added: incubator/wookie/trunk/widgets/templates/widgets/twitter/item_summary_template.html URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/widgets/twitter/item_summary_template.html?rev=1231026&view=auto ============================================================================== --- incubator/wookie/trunk/widgets/templates/widgets/twitter/item_summary_template.html (added) +++ incubator/wookie/trunk/widgets/templates/widgets/twitter/item_summary_template.html Fri Jan 13 11:52:50 2012 @@ -0,0 +1,21 @@ + + +
  • + Avatar for ${SCREEN_NAME}; click to read more tweets from this user + ${TEXT} +
    + ${CREATED_AT} +
    +
  • Modified: incubator/wookie/trunk/widgets/templates/widgets/twitter/widget.properties URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/widgets/templates/widgets/twitter/widget.properties?rev=1231026&r1=1231025&r2=1231026&view=diff ============================================================================== --- incubator/wookie/trunk/widgets/templates/widgets/twitter/widget.properties (original) +++ incubator/wookie/trunk/widgets/templates/widgets/twitter/widget.properties Fri Jan 13 11:52:50 2012 @@ -41,21 +41,6 @@ browse.search.url="http://api.twitter.co browse.collection.template = "
      ${ITEMS}
    " # -# The template string to use for item summaries, representing a single record but before -# the item detail has been retrieved. We override this to provide all the info in the summary -# and not the detail template - this is because the Twitter API is rate limited, and we can -# populate the whole thing directly in one call. -# -# Note the OnClick event handler that triggers a search for the user by their screen_name. This -# is missing quotes as these are added at some point in the processing of the parameter - if you -# include a quote or an escape character then between Ant and JQuery something will go wrong :( -# (Still, it works as is) -# -# type: string -# -browse.item.summary.template =
  • Avatar for ${SCREEN_NAME}; click to read more tweets from this user${TEXT}
    ${CREATED_AT}
  • - -# # The names of the elements to map into the template placeholders. E.g. if it contains "title", then $TITLE in the template # would be replaced by the content of the element in the XML data. # In our case these are the important elements returned by the Twitter API.