Re: Getting search terms from Google Custom Search

20 views
Skip to first unread message
Message has been deleted

Jian Huang

unread,
Sep 2, 2011, 9:34:50 AM9/2/11
to RedDot CMS Users
Hi Neil,

Is it in XML format and accessible via URL? If so, why not use Jquery/
AJAX to read it?

On Sep 2, 8:45 am, Neil Fegen <n.feg...@gmail.com> wrote:
> Hi guys
>
> I'm trying to read the contents of a text file generated in Google Custom
> Search to show the top 20 queries in a Custom Search engine.
>
> This is standard code generated by Google - how can I read the contents of
> the file into, say, ASP and use in a content class?
>
> Neil
Message has been deleted

Jian Huang

unread,
Sep 2, 2011, 10:54:17 AM9/2/11
to RedDot CMS Users
Hi Neil,

I see.

Well, it seems to be a dynamic server side functionality. Either use
DeliveryServer or in your case, like you said using ASP or any code
you desire.

The trick is not to run the code within CMS, but on the web server.
So CMS' purpose is simply to publish out whatever dynamic server side
code you would like to run (read txt, parse, display) on the web
server.

Please let me know if you need additional info.

Best,

-Jian

On Sep 2, 9:52 am, Neil Fegen <n.feg...@gmail.com> wrote:
> Hi Jian
>
> There's a longer .xml format with a lot of irrelevant info or a much shorter
> .txt file with what I need - the text file would be easier.
>
> Neil

Andreas Thumfart

unread,
Sep 4, 2011, 7:50:38 AM9/4/11
to reddot-c...@googlegroups.com
I would recommend running using the XML File and an ASP script running inside of RedDot.
This wouldn't affect the frontend performance.
You can run the ASP script only when publishing, which would not affect the performance for your editors.

But I would use the XML file, even if it's much longer. Cause an XML is usually easier to parse and not as error-prone as a text file.
Reply all
Reply to author
Forward
0 new messages