TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 340
  • Total: 340

Advanced RSS Feed

Started by URPG, August 07, 2006, 06:59:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

URPG

Thanks!

Now... how about integration?
What's the original doing that this does not, so it can display the BBC stream?
How can i integrate the features into the TP interface so Users don't have to edit them inside the code?

rebelrose

#41
Quote from: Mrs G6 on August 13, 2006, 09:01:53 AM
Try to convert the rss feed to a script instead.
Go to this page and follow the steps and see if you get a better layout on the feed
http://www.rss-to-javascript.com/p/138.html
Then put the feed in a java/html block

I would have loved this type script but I could not get it to generate code. Not sure why.


**************

I got it, it was an operator malfunction   :-\

URPG

Does it actualy look that much better?

moonrock

#43
I hope this is the right place to get help!

I intend to use maxfeeds for ad. but their ad are served in RSS
i was thinking using this block to feed
but i'm confused as i'm noob in this

this is the url to the feed

http://xml.maxfeeds.com/?aff_id=[ACCOUNT]&keyword=adult&ip_addr=[IP ADDRESS]

[ACCOUNT] = my account name
[IP ADDRESS] = client IP

now.. how do i detect or insert the IP of the member ?

according to maxfeeds website, it says

QuoteThis parameter identifies the IP address of the individual performing the query.
In most situations the IP address can be detected from the HTTP request by the REMOTE_ADDR parameter
$_SERVER[REMOTE_ADDR]

$_SERVER[REMOTE_ADDR]

How do i use this ? together with Advanced RSS Feed or Rss readers v1.2 from Tufat
or can I use this on Static Page mod  ?

Thanks for help!

URPG

you could do a trace to your website URL or a whois lookup(?) and you will get it's IP. Account Name is possible your account at maxfeeds?

The only improvements this advanced feed does is allowing you to scroll the news at custom speed with or without stoping the scroll on mouseover. So it does not matter for your feed, it's just a matter of taste and look waht features you want.

moonrock

Quote from: URPG on September 14, 2006, 05:49:38 PM
you could do a trace to your website URL or a whois lookup(?) and you will get it's IP. Account Name is possible your account at maxfeeds?

The only improvements this advanced feed does is allowing you to scroll the news at custom speed with or without stoping the scroll on mouseover. So it does not matter for your feed, it's just a matter of taste and look waht features you want.

thanks for info.

but when maxfeeds says 'This parameter identifies the IP address of the individual performing the query'
does it mean my DNS?.. i thought it should be the forum member's IP.
if it's my host, i can get the IP easily.
but if it's the member's.. how do i put the code to execution ?

yes, the account is my maxfeeds's account name.

IchBin

$_SERVER['REMOTE_ADDR'] is a variable that will load the IP of the person who loads the page. I'm not sure how to use it in the maxfeed.

moonrock

Quote from: IchBinâââ,¬Å¾Ã,¢ on September 14, 2006, 06:26:16 PM
$_SERVER['REMOTE_ADDR'] is a variable that will load the IP of the person who loads the page. I'm not sure how to use it in the maxfeed.

i'm not using in maxfeeds. but maxfeeds need it to use it in my RSS block.
what i need to know is how to code it (i'm noob in coding)

maxfeeds need the IP of the user to display it's feed
and it says it can use $_SERVER[REMOTE_ADDR] to detect the ip
to add the IP at the end of this url..(at the IP ADDRESS)

http://xml.maxfeeds.com/?aff_id=[ACCOUNT]&keyword=adult&ip_addr=[IP ADDRESS]

how do I do that ?

i just did a search and it show it in PHP

$ip = $_SERVER['REMOTE_ADDR'];

does that mean i can just add =$ip at the end of the url ?

and use this line in the block ?

http://xml.maxfeeds.com/?aff_id=[ACCOUNT]&keyword=adult&ip_addr=$ip[/b]

URPG

I don't know if the server does the query, puzzling together the page, then sending it or if the users browser does so. I'd guess the users browser, ten you have to use on of those enviromental variables...

dennishe

Very neat, URPG - thanks a lot for this one.

I have removed the <big></big> around the headlines, because I think it looks better in a side block on my site this way.


Dennis Hestbech, Denmark

This website is proudly hosted on Crocweb Cloud Website Hosting.