[advanced search]
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Domain Name Industry Newsletter

System Maintenance: NamePros will be offline for 20 minutes at the top of the hour (4AM EST)

Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 04-16-2008, 08:41 PM   · #1
Dawilster
Account Closed
 
Trader Rating: (1)
Join Date: Apr 2008
Posts: 106
NP$: 0.00 (Donate)
Dawilster is an unknown quantity at this point
simplepie help

edit: new question: how do i make it just like on the offical demo, there is a field where i enter the feed url and it automaticaly grabs it for me, what code and alteration do i need to make in order to do this thanks for the help on the first question

i installed simplepie recently because i heard it was easy to configure but i have absolutely no experience in the area of php coding so im wondering if you guys can help me out, is it possible to make my simplepie script grab the whole article instead of just a simple description
what im trying to say is partial feed into full text

thanks any asisstance will be very helpful


Please register or log-in into NamePros to hide ads

Last edited by Dawilster : 04-18-2008 at 01:22 AM.
Dawilster is offline   Reply With Quote
Old 04-17-2008, 05:25 AM   · #2
enlytend
NamePros Regular
 
enlytend's Avatar
 
Location: USA
Trader Rating: (6)
Join Date: Aug 2006
Posts: 452
NP$: 93.70 (Donate)
enlytend is just really niceenlytend is just really niceenlytend is just really niceenlytend is just really niceenlytend is just really nice
Have you read the documentation?

In your code (and I'm assuming you've seen or are using their sample code) there is probably a line something like this:
PHP Code:
foreach ($feed->get_items() as $item):

This is the top of a foreach loop that retrieves a SimplePie_Item (one item in the RSS feed). Within that loop, each time it retrieves an item, you have access to methods like
PHP Code:
$item->get_description() (which gets the description)
$item->get_title() (which gets the title)

Methods are things you can "do" with that particular item.

What you need to do is read through the API documentation for the item level methods for the SimplePie_Item and find the one that does what you want. .

There are a lot of things you can "get" - maybe you'll find some other options you want to use while you're looking.
enlytend is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
http://www.mobisitetrader.com/ Hunting Moon RealTechNetwork
Advertise your business at NamePros
All times are GMT -7. The time now is 01:31 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0