Results 1 to 8 of 8

Thread: help...feeds styles

  1. #1
    Join Date
    Jan 2006
    Posts
    33

    Question help...feeds styles

    aloha how customize this feed (block.rss_feed_list.html)
    font, color, size and the numbers of text lines.....please
    thanks...

  2. #2
    Join Date
    Jan 2006
    Posts
    33

    Default

    aloha.....problems solved.......but....how define a number of text lines in the feeds......thanks any way

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    You can specify the max rss item to be displayed when calling the block. The codes is taken from index.html
    Code:
    <%block_rss_feed url="http://rss.news.yahoo.com/rss/entertainment" title="Yahoo Entertainment" template="block.rss_feed_list.html" max_item="10" cache_time="86400"%>
    make attention with
    Code:
    max_item="10"

  4. #4
    Join Date
    Jan 2006
    Posts
    33

    Default

    ok thanks but this only configure the quantity of feeds...not the quantity of lines for the feeds....and this is my cuestion......thanks again

  5. #5
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by cabesoul
    ok thanks but this only configure the quantity of feeds...not the quantity of lines for the feeds....and this is my cuestion......thanks again
    there is probably no easy way to control the number of lines. You can do a word count and display the first n words. but consider:

    Code:
    now is the time for all good men
    
    as compared to
    
    New York county mandates attempted wireless security configuration
    Each has eight words. The second will always take up more space than the first regardless of how many words you select.



    or you can truncate the item field. for example, see http://www.nicecoder.com/community/s...ead.php?t=2153




    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  6. #6
    Join Date
    Jan 2006
    Posts
    33

    Unhappy

    thanks.....buuut now I have this big problem:

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Session: connection failed

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php:334) in /home/explora/public_html/ebusca/index.php on line 39

    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php:334) in /home/explora/public_html/ebusca/index.php on line 39

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334

    please help me dude.....

  7. #7
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    Default

    Quote Originally Posted by cabesoul
    Warning: mysql_pconnect(): Too many connections in /home/explora/public_html/ebusca/lib/adodb/drivers/adodb-mysql.inc.php on line 334
    usually, only the first error has any meaning

    go to the Option section in the Admin Control Panel and click on the Setup hyperlink. Change the "Use MYSQL persistent connection" to NO.




    .
    esm
    "The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

    .

  8. #8
    Join Date
    Jan 2006
    Posts
    33

    Default

    thanks soooo much....

Similar Threads

  1. rss feeds update time
    By persut in forum v5.x
    Replies: 0
    Last Post: 02-08-2006, 01:04 PM
  2. Question about the rss feeds
    By JGBNS in forum Website development, hosting and promotion
    Replies: 5
    Last Post: 01-16-2006, 06:15 AM
  3. Integrate XML feeds into site
    By brickholius in forum Website development, hosting and promotion
    Replies: 1
    Last Post: 12-23-2004, 03:03 AM
  4. Category styles
    By richhead in forum v5.x
    Replies: 2
    Last Post: 07-08-2003, 08:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •