Webmastersite.net
Register Log In

Javascript export problem

Comments on Javascript export problem

morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Apr 17, 2005 - 2:35 PM:

Hi,

i would like to show a javascript feed with the latest links added. But i would like the links to direct to my comments pages instead. i tried this:-
<script language="javascript" src="http://yoursite.com/wsnlinks/exporter.php?number[1]=10&field[1]=time&ascdesc[1]=de scending&type[1]=comments"></script>

But it only shows the latest comments added. Any help?
morton82
Forum Regular

Usergroup: Customer
Joined: Jan 21, 2005

Total Topics: 32
Total Comments: 102
Posted Apr 17, 2005 - 2:44 PM:

I also tried <script language="javascript" src="http://mysite.com/exporter.php?number[1]=5&field[1]=id&ascdesc[1]=descending&type[1]=links&usecomments=1&thecondition[1]=type='regular'"></script> to show the latest 5 links added but they are all linking to outside pages. How to make them get into my comments pages first? sad
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Apr 17, 2005 - 10:57 PM:

&type[1]=comments

Naturally that will show comments and not links, since that's what you've told it to do.

How to make them get into my comments pages first?

Edit your Javascript Export template.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.