vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   RSS Feeds on Forumhome and Other vb Pages (https://vborg.vbsupport.ru/showthread.php?t=105328)

tgmorris 04-21-2006 01:58 AM

Quote:

Originally Posted by silly rabbit
See explaination from hosting company: Implementation of PHPsuexec.

Based on the writeup the hosting company provides it seems like it should work fine.

Quote:

When you say 'outside the web root' do you mean anywhere except alongside 'public_html'??
Yes, it should just not be in a folder that users can get to via the web. Although with the way the host has things set up now that's not as important.

If you aren't getting any errors generated and the file cache is being populated then it *should* be working ok. The one possibility is that the way it's currently coded if the remote site is slow to respond then the the script will be slow to fill in the data. This gets magnified as it does 3 retries when fetching things. You might try reducing the retry count from 3 to 1 to see if that helps. You can tell if this is the problem by just waiting to see if the page eventually loads.

silly rabbit 04-23-2006 09:48 AM

Quote:

Originally Posted by tgmorris
Based on the writeup the hosting company provides it seems like it should work fine.

tg, once again great hack, thank you! I suspect my server is one of the last to be 'converted' and on '777' working fine. When it 'crashes' that will be my signal to drop to '755' hehe! Left cache 'alongside' web root (which is not public accessible) and will play with the 'retries'. Selecting different xml feeds does seem to make a difference on performance so I suspect your excellent coding is not to blame at all . . . .

I see where my running tally of all past and present xml feeds in the cache dir are stored as '644' which, with the exception of 'user' write(no execute), is strictly read only . . . .

Now on to modifying 'postbit'!!! Will attempt to add 'reply' links into the xml title bar which will quickly point, take reader directly to the appropriate 'comment' forum . . .

Thanks For Sharing Great Hack & reply, I think a really short 'support thread' is testament to a hack that works correct the first time and I will watch for your future / past 'inventions'!! Rss stands for 'really stupid simple'??? (hehe)

Rabbit

p.s. Everybody knows about iespell?? Little abc/check box upper right in VB editor??? Love it! Works just fine!!

rollo tamasi 07-23-2006 01:24 AM

Quote:

Originally Posted by dethfire
how do we limit the descriptions to say 100 characters and then add (...)?

^ just wondering if the above is possible?

great mod, i was about to install feed2js with magpie and add a table below the what's going on section but i don't have to now :D

Thanks

Foxsake 07-23-2006 07:07 AM

Installed this and created a directory outside public_hmtl
changed its permissions to 777
however each time i provide a url link it just gives this


Fatal error: file_put_contents cannot write in file. in /includes/init.php(292) : eval()'d code on line 91

can someone advise on what im doing wrong? :confused:

Thanks in advance for any help

dethfire 09-13-2006 06:00 PM

does this work in 3.6?

dethfire 10-12-2006 01:46 PM

anyone get this to work in 3.6?

BamaStangGuy 10-18-2006 10:29 PM

I have this working in 3.6.2

This is a great hack but is a bit limiting.

I would like to limit title's to xx characters and be able to define how many feeds it lists per feed url I add.

tgmorris 10-18-2006 11:32 PM

Quote:

Originally Posted by BamaStangGuy
I have this working in 3.6.2

This is a great hack but is a bit limiting.

I would like to limit title's to xx characters and be able to define how many feeds it lists per feed url I add.

Limiting the Title Length is easy and exactly why the Data modification code box exists. Just add the code needed to trim the titles however you would like them. As a very brief example to trim it to 10 chars...

Code:

$rss_item['TITLE'] = substr($rss_item['TITLE'], 0, 10);
Limiting the number of items on a per feed basis would require a small code change but if you know php it wouldn't be too hard to pull off.

BamaStangGuy 10-22-2006 05:15 AM

Thank you for that.

Is there any reason that sometimes the RSS feed will not load? It seems for me that every few refreshes the rss feed does not show up.

Maybe you can reproduce it on one of my sites: Mustang Forums

If it shows up close the browser and open it again. If you do it a couple of times you should catch it where it won't load.

dethfire 10-26-2006 08:43 PM

All of a sudden I'm getting these errors

Code:

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.sciam.com/xml/sciam.xml) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.sciam.com/xml/sciam.xml) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.sciam.com/xml/sciam.xml) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.sciam.com/xml/sciam.xml) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.nasa.gov/rss/breaking_news.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.nasa.gov/rss/breaking_news.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.nasa.gov/rss/breaking_news.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.nasa.gov/rss/breaking_news.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.physicsforums.com/blog/wp-rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.physicsforums.com/blog/wp-rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.physicsforums.com/blog/wp-rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.physicsforums.com/blog/wp-rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://www.jwz.org/cheesegrater/RSS/apod.rss) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://physicspost.com/rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://physicspost.com/rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://physicspost.com/rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in /includes/init.php(292) : eval()'d code on line 218

Warning: file_get_contents(http://physicspost.com/rss.php) [function.file-get-contents]: failed to open stream: Connection refused in /includes/init.php(292) : eval()'d code on line 218



All times are GMT. The time now is 01:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01191 seconds
  • Memory Usage 1,792KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete