Unstoppable Domains — Get your daily AI drops report

Simplepie help

NamecheapNamecheap
Watch

Dawilster

Account Closed
Impact
0
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
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
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:
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:
$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.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back