Forum Activity for @jimmy

jimmyk
@jimmy
07/23/18 03:18:58PM
514 posts

RSS Feeds Additional Data


Jamroom Developers

No. I just need to get into one layer deeper in the RSS feed.

How it is now, which works great and I can add other options like category.

Quote:channel -> title
channel -> description
channel -> pubdate

What I need is the ability to go one level deeper because that is where the image is.

Quote:channel -> image -> url

In the code snippet in the OP I couldn't figure out a way to go one level deeper inside a foreach with
Quote: $_x['item'] [$i] ['image']['url']
returns an ARRAY.

Example Feed:
https://www.technologyreview.com/topnews.rss

updated by @jimmy: 07/23/18 03:26:39PM
jimmyk
@jimmy
07/23/18 03:12:03PM
514 posts

RSS Feeds Additional Data


Jamroom Developers

Yea, this is in the includes.php file I believe, not open in front of me. I was trying to do something fast to see if it could be done. I needed the image for a template and then ran into the RSS - array thingy.

Is there a better way to do this with a listener?
jimmyk
@jimmy
07/23/18 12:42:36PM
514 posts

RSS Feeds Additional Data


Jamroom Developers

Quote:foreach ($xml->channel->item as $item) {
if ($i == $params['limit']) {
break;
}
$_x['item'][$i]['title'] = (string) $item->title;
$_x['item'][$i]['link'] = (string) $item->link;
$_x['item'][$i]['pubDate'] = strtotime((string) $item->pubDate);
$_x['item'][$i]['description'] = (string) $item->description;
$_x['item'][$i]['category'] = (string) $item->category;
$i++;
}

How do you add an additional level so that the channel > image > url can be grabbed inside the channel section?

The way the feeder is now, it's only one level deep (inside the channel only).
updated by @jimmy: 10/24/18 09:27:27AM
jimmyk
@jimmy
12/25/17 01:42:51AM
514 posts

Happy Holiday!


Off Topic

Wishing everyone a Happy Holiday and Merry Christmas!

Hopefully Santa brought you all the gifts you requested. If not, maybe next year.

Onto 2018!

Christmas Vacation: Hap Hap Happiest Christmas!
updated by @jimmy: 03/31/18 03:34:37PM
jimmyk
@jimmy
11/29/17 04:18:07AM
514 posts

Apple’s macOS High Sierra Security Flaw root access without password !


Off Topic

APPLE users have noticed a troubling flaw in the company’s Mac operating system which lets people circumnavigate password protocols to gain access to the computer.

Raising alarming privacy concerns, it means anyone with physical access to your MacBook or iMac can create a phantom profile that won’t show up on real admin accounts if the machine is running the new High Sierra operating system.

In the device’s System Preferences, under Users & Groups, you can click on the lock and gain system administrator access by simply entering the username “root” and leaving the password blank. After hitting enter a few times it grants access. Once that is done, the trick can be used to log into the computer at any time.

http://www.news.com.au/technology/gadgets/apples-macos-high-sierra-has-a-simple-security-flaw-that-lets-anyone-log-into-your-mac/news-story/10000a4cd9e86defbaadd3ee643c1dce
updated by @jimmy: 02/28/18 11:27:40PM
jimmyk
@jimmy
01/13/17 08:01:36PM
514 posts

Whats up everyone!


Off Topic

Welcome @mary!
jimmyk
@jimmy
12/22/16 02:37:50PM
514 posts

New Jamroom.net Updates


Announcements

That makes sense. I should just get the SSD VPSs from now on. :)
updated by @jimmy: 12/22/16 02:38:30PM
jimmyk
@jimmy
12/22/16 02:31:44PM
514 posts

New Jamroom.net Updates


Announcements

I wonder why the prices for SSD based servers is lower than Ceph storage?

Anyway, love the updates. @nate did a nice job!
jimmyk
@jimmy
12/22/16 02:01:54PM
514 posts

Happy Holiday!


Off Topic

Happy Holiday's to everyone. Hope Santa bring you everything you asked.
  2