08-26-2011, 01:13 AM
08-26-2011, 01:20 AM
This only possible if both pages are coming from the same domain. That is, if both pages are served up by the same web server (or at least server group).
If it is, then it's not hard. But...
-- Are both pages visible at the same time? That is, is one a popup from the other?
-- If so, which page opened the other one?
If only one page is to be visible, then the easiest way to do this is to load the other page into an invisible <iframe> on the visible page and then search for the desired content within the HTML of the invisible <iframe>.
In any case, we need to know *HOW* the "most recent posting [is] tagged with a specific category". That is, what does the HTML that makes this obvious look like?
08-26-2011, 07:32 PM
Both pages are on the same domain. I was thinking I could have the first page load quickly, or hidden, then pull the info and pass the info to a second page. But <iframe> might make more sense - if it's possible with the cms program my client is using (Squarespace).
Basically I'm building a page that's pulling rss feeds from individual pages on the same domain (built that way due to a limitation of the cms software the client is using) I want to detect the most recent post for each category, and pull the thumbnail picture to appear here, as the layout suggests: http://www.frontdoorsnews.com/-4/
An example of the pages I want to pull the pic url from is here: http://frontdoorsnews.squarespace.com/from_the_heart/
On this page, a specific div tag (div id="item12616108") matches the category. I could rebuild it to have divs for all the categories.
Inside that div is another div class called "journal-entry-float-day". I can change that to include hour and minute, so it can be used to find the most recent post.
Hope I'm on the right path!
08-26-2011, 10:03 PM
Seems you have found the right idea, judging by your other thread that I have replied to. If not, ask again.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.