Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Dreamweaver 8 XML, XSLT

Guest
Mar 29, 2007 Mar 29, 2007
I've attempted to try to place a external or internet rss feed on my php page. I opened a xslt page placed my title from the feed and link. Everything seems ok when I am on my php it shows my list of the rss feed that I got. However, what I do not understand is how to limit my rss feeds. For example, I went the the Jerusalem Post and took their rss feed and my list shows 11 headlines. But I want to limit it to say the top 3. So how do I do this.

I am new to the xml field and I am using Dreamweaver 8.

Thank you,
AdonaiEchad
TOPICS
Server side applications
308
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Mar 29, 2007 Mar 29, 2007
AdonaiEchad wrote:
> what I do not understand is how to limit my rss feeds. For example,
I went the
> the Jerusalem Post and took their rss feed and my list shows 11 headlines. But
> I want to limit it to say the top 3. So how do I do this.

Select the xsl:for-each tab on your repeat region, and click the
lightning bolt in the Property inspector to open the XPath Expression
Builder. Expand the Build Filter area and click the plus button. Fill in
the following values:

Filter By: the name ...
Translate
LEGEND ,
Mar 29, 2007 Mar 29, 2007
AdonaiEchad wrote:
> what I do not understand is how to limit my rss feeds. For example,
I went the
> the Jerusalem Post and took their rss feed and my list shows 11 headlines. But
> I want to limit it to say the top 3. So how do I do this.

Select the xsl:for-each tab on your repeat region, and click the
lightning bolt in the Property inspector to open the XPath Expression
Builder. Expand the Build Filter area and click the plus button. Fill in
the following values:

Filter By: the name of the XML node that contains the headline
Where: position()
Operator: >=
Value: 3

--
David Powers, Adobe Community Expert
Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 30, 2007 Mar 30, 2007
LATEST
Thank you, that did the job.

Is there any tutorials on Adobe dealing with how to use Dreamweaver 8 on xml. What am I am basically getting at is, if I created a mySQL database that has articles and want to link a xml to it by making it a rss. I will be using PHP. I hope I am making sense.

Thank you,
AdonaiEchad
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines