You are here

function jquery_social_stream_rss_form in jQuery social stream 8

Same name and namespace in other branches
  1. 8.2 jquery_social_stream.module \jquery_social_stream_rss_form()
  2. 7.2 jquery_social_stream.module \jquery_social_stream_rss_form()
  3. 7 jquery_social_stream.module \jquery_social_stream_rss_form()

RSS feed settings form.

File

./jquery_social_stream.module, line 565
Code for the Campaign social media module.

Code

function jquery_social_stream_rss_form($conf) {
  $form = array();
  _jquery_social_stream_settings_text($form, $conf, 'id', 'RSS feed URLs', 'You can enter multiple URLs separated by comma.', '', 1024);
  _jquery_social_stream_settings_text($form, $conf, 'intro', 'Feed item intro text', '', 'Posted');
  _jquery_social_stream_settings_text($form, $conf, 'out', 'Output', 'Stream item output: content blocks & order. Available options: intro, title, text, share', 'intro,thumb,title,text,share');
  _jquery_social_stream_settings_select($form, $conf, 'text', 'RSS element', 'Select the RSS element to use in the feed output. <em>Content</em> will output complete wall post text including any images, <em>Сontent snippet</em> (default) shows brief introduction.', array(
    'contentSnippet' => t('Content snippet'),
    'content' => t('Content'),
  ), 'contentSnippet');
  return $form;
}