Gossamer Forum
Quote Reply
new links to xml
Is there a way with a plugin or otherwise to convert the new links to xml format?

I tried using the XML results to search new but that didn't work.

Thanks

CCUnet
my Christian web
Quote Reply
Re: [ccunet] new links to xml In reply to
You can use the XML search links plugin. The URL should be something like:

search.cgi?query=;isNew=Yes;sb=ID;so=DESC;xml_feed=1

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] new links to xml In reply to
Yogi thanks for the help

I got this error when I tired you query

A semi colon character was expected. Error processing resource 'http://www.mychristianweb.com/cgi-bin/guide/search.cgi?query=;isNew=Yes;xml_feed=1'. Line 3, Position 118

CCUnet
my Christian web
Quote Reply
Re: [ccunet] new links to xml In reply to
I guess you already use the correct templates, cf. http://www.gossamer-threads.com/...orum.cgi?post=221087

You might try to also html_escape the <%URL%> field in the xml template.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] new links to xml In reply to
Just for future reference the correct query is

http://www.yoursite.com/...w=Yes&xml_feed=1

CCunet
my Christian web
Quote Reply
Re: [ccunet] new links to xml In reply to
I use:

http://slashdemocracy.org/...=DESC&xml_feed=1

Which sorts by ID, thus ensuring you get the most recent at top. I also use category-based feeds:

http://slashdemocracy.org/...feed=1&isNew=Yes

http://slashdemocracy.org/...=DESC&xml_feed=1

Another useful feed is seach-results:

http://slashdemocracy.org/...=DESC&xml_feed=1

NB: The feeds are all in RSS0.91. I'd be interested in getting my feeds in RSS1.0 (RDF), but in order to do so, one needs a simple list of URIs (with some xml tags). Anyone found out how to make such list?

John
Quote Reply
Re: [gotze] new links to xml In reply to
Yes I have the sortby and sort order in my query but this is the simplest form of the query I got to work.

Doing the way you have with out the semi colon before isNew, I don't get any links.

BTW the query=feed link doesn't work. What is the feed variable?

CCunet
my Christian web
Quote Reply
Re: [ccunet] new links to xml In reply to
I don't know about the semi-colons, it works for me ...

Ah, query=feed was a bad example. I just mean that you can put any query in the search string, in my case "feed" Wink

John
Quote Reply
Re: [gotze] new links to xml In reply to
Reviving this ole thread rather than repeating what's been said already ...

Is there a way to do an xml search for anything in a specific category (wait for it, wait for it) when you only know the category name, not it's numeric ID?

Like

http://www.domain.com/...DGETS&xml_feed=1

which would return the first (any) results from the WIDGETS category.

Reason for this is that I import whole dbs full of links so often that I can't tie down the CAT numbers, but I always know their names.
Quote Reply
Re: [CrazyGuy] new links to xml In reply to
A recent development w/my LSQL 2.20 install. When someone clicks on the link to the xml URL it resets the new links and shows nothing. If I repair the tables it works again for on click then it disappears once more.
Anyone have any clues?

CCUnet
my Christian web
Quote Reply
Re: [ccunet] new links to xml In reply to
How would I go about using .htaccess to rewrite

http://www.mysite.com/cgi-bin/search.cgi?query=&isNew=Yes&sb=ID&so=DESC&xml_feed=1

to

http://www.mysite.com/new.xml
???

</not a clue>
Quote Reply
Re: [Dinky] new links to xml In reply to
Try this:
Code:
RewriteRule ^/new.xml$ /cgi-bin/search.cgi?query=&isNew=Yes&sb=ID&so=DESC&xml_feed=1 [L,NC]

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...