/    Sign up×
Community /Pin to ProfileBookmark

Help w/DeveloperApple XMLHttpRequest

Hi All… I’ve been playing around w/ the [url]http://developer.apple.com/internet/webcontent/xmlhttpreq.html[/url]
Their version included Cdata Encoded in the description element of the xml.
I’ll be attempting to attach an external CSS for styling of the content including the content:encoded area.
The Source page is a work in progress, ie back to the drawing board again!
[url]http://www.godiscgolf.com/content/xml/xmlHTTPrequest/index_x.html[/url]

My xml is very simple now for the TestListGarden selection from the drop down, It’s an RSS feed produced by ListGarden and only includes the most basic fields plus a content:encoded field, which I tried removing but is best left untouched, (using semantic coding and CSS) will help slim down the bloated code in this area.

Can I use CSS styling attached externally to the xml sheets, in between these tags– <content:encoded><![CDATA[ <——-???

Thanks for any help… if anyone else is interested in working with this apple model, I’ve created a .zip file of the code from the original Apple MAC dmg file and can share you’ll find it by going to the index page where the error message is from. (not the index_x page remove _x) ? thanks.

to post a comment
JavaScript

2 Comments(s)

Copy linkTweet thisAlerts:
@ajaxHackauthorNov 19.2005 — If anyone's interested in RSS publishing, ajax drill down menus, and adding a content rich area to your own website stay w/ me on this...

Maybe I'll offer up more solutions than problem's here....

Currently I have no problem's... still the question of will css work using XMLHttpRequest methods? I'm about to find out for myself real quick...

Stay tuned.

My app is now fixed, now that I know I have to go w/ the content:encoded area... has anyone any familiarity w/ this type of setup... if so at least say hi to the newbie guy :eek:
Copy linkTweet thisAlerts:
@ajaxHackauthorNov 22.2005 — OK the Content:encoded Cdata Item of my RSS is still not inheriting the stylesheet properties declared in the xml of the RSS itself...

Copy/pasting from a blog elsewhere this is a movable type example (thanks rsoderberg Mine is not moveable type though)
------------------------------


Search for the <content:encoded> tag (or, if that's not present, the <description> tag) in your template; make sure it's the one that contains the entry body of your item, before any other content, add the following text:
[code=php]
<![CDATA[<link rel="stylesheet" href="http://www.example.com/rss.css" type="text/css" title="styled" />]]>
[/code]

Not sure what the title="styled" is maybe only to do w/ moveableType, but

Maybe I need to add the declaration such as above or similar to the content:encoded Cdata area for each of my RSS/XML item elements then... going to try this ASAP. Does anyone know if this will make the Cdata area inherit the style sheet properties then??? Thanks. [blog]
×

Success!

Help @ajaxHack spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...