Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7624137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:53:01+00:00 2026-05-31T04:53:01+00:00

I have this link http://lazhalazha.livejournal.com/data/rss with RSS in it, what I need to get

  • 0

I have this link http://lazhalazha.livejournal.com/data/rss with RSS in it, what I need to get is array of guid values, that is links to the post. This is what I have so far…

$xml = simplexml_load_file('http://lazhalazha.livejournal.com/data/rss');
foreach ($xml->channel->item as $item){
    print_r($item->guid);
}

Output is series of these objects

SimpleXMLElement Object
(
    [@attributes] => Array
        (
            [isPermaLink] => true
        )

    [0] => http://lazhalazha.livejournal.com/713.html
)

Solved this by converting this object to string, then it’s passing correct URL instead of object.

$xml = simplexml_load_file('http://lazhalazha.livejournal.com/data/rss');
$linkArray = array();
foreach ($xml->channel->item as $item){
    $guid = (string)$item->guid;
    array_push($linkArray, $guid);
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:53:03+00:00Added an answer on May 31, 2026 at 4:53 am
    <?php
    $_temp = array();
    $xml = simplexml_load_file('http://lazhalazha.livejournal.com/data/rss');
    
    foreach ($xml->channel->item as $item){
        $_temp[] = (string)$item->guid[0];
    }
    
    print_r($_temp);
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a link from that link: http://api.maxxiscentral.com/maxxiscentral/GetTyrePatterns from this link i want to
I have this link: http://www.youtube.com/e/fIL7Nnlw1LI&feature=related I need a way in PHP to completely remove
I have this youtube link for example: http://www.youtube.com/watch?v=3aICB2mUu2k And I need with PHP to
I have installed Qt for windows CE using this link http://qt.nokia.com/products/platform/qt-for-windows-ce for visual studio8,
I have tried to do this refering to following link. http://skypher.com/index.php/2008/07/28/function-list-for-php/ But no success.
I need to have this link: http://myserver:/myproject/innerpage/clip.jsf&id=9099 to extract the id from a code
I have found this link http://smartclient.codeplex.com/ which has some updates for vs 2010 ....
I have this link: <a href=<?php echo $this->url(array('controller'=>'index','action'=>'form'),NULL,TRUE);?>> Form </a> With this I get
If you check out this link (http://noahsdad.com/state-fair-texas-2011/) you'll notice that scrolling side bar to
i have this link: http://localhost/login/activation.php?usermail=xxxxx@gmail.com?usercode=$P$Bs9FpyKdKVFdVXYJ6dZCfcZqzWHLlc/ but this validation return Bad request. Why? function checkBd()

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.