Programming Tools
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
Go Back   Dev Articles Community ForumsProgrammingProgramming Tools

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old May 28th, 2002, 03:27 PM
raymasa raymasa is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 2 raymasa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Syndication question

Hello,

I have question regarding the "Setting Up An Automated Content Feed From Your Web Site" article.

(URL
t.php%3FarticleId%3D53&prev=/search%3Fq%3DJavaScript%2Btutorial%2Bsyndicatio
n%26site%3Dswr%26hl%3Den%26lr%3D%26ie%3DUTF8%26oe% 3DUTF8)


Here is what I am trying to do, I would like to syndicate my article to other web sites, such that when the user see my article, they will see the look and feel of the site they are on (and not the look and feel of my site), even thou the article will be fetched from my server. Now I can easily do this my letting the webmaster of the site embed <script> tag pointing to my article.

Here is my problem. I have links from one page to another (as the articles are multi page long). When a user clicks on the link, they are no longer on the web site where the originally saw the article. Instead they are on my site. How can I avoid this?

Thanks

Ray

Reply With Quote
  #2  
Old May 29th, 2002, 03:23 AM
mytch mytch is offline
Dev Articles Novice (500 - 999 posts)
 
Join Date: Apr 2002
Location: Sydney, Australia
Posts: 589 mytch User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Hi Ray,
Probly the best solution would be to grab the code using JavaScript blocks. You could also just include your article in an iframe with a plain background which the other site can include on their pages.

On your server, you can create a PHP script that outputs JavaScript code. From there on the other persons site, just use

<script language="JavaScript" src="htttp://www.yoursite.com/article_as_javascript.php?articleId=xxx&page=yyy"></script>

On article_as_javascript.php, you should output document.write JavaScript functions containing the content of the article. Remember to replace ' with \' and " with \"

You might also want to setup a content sharing/xml setup. See http://www.devarticles.com/devarticles_recent.xml for some ideas

Reply With Quote
  #3  
Old May 29th, 2002, 12:48 PM
raymasa raymasa is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 2 raymasa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi Mytch,

Thanks for the reply. I tried the iFrame, however, it does not work in Netscape, only on IE. Also, it breaks up the page and does not look very good, if the other site have their own content around my article.

With regards to your second solution, I think that is closer to what I was looking for, unfortunately, I have not been able to get it to work. I know Digital Windmill (URL) is using that to deliver content from Open Directory Project, but have not been able to replicate that. What they are doing is this:

Webmaster embed the following code on their page:

<script language="javascript" src="http://www.digitalwindmill.com/direct/directory.asp">
</script>


The directory.asp file actually calls the following file:

document.write('<script src="http://search.anaconda.net/syndw.pl?&&jsbase=' + location.href + '"></script>');


So far it seems like they are doing what you suggested (is that correct)? I tried to replicate that, but when I click on the link, it always goes to my web address (not the address of the other site, but digital windmill has been able to make it work).

Any suggestions as to what I may be missing?

I will take a look at the content sharing XML document as well.

Thanks again.

Ray

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingProgramming Tools > Syndication question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway