PDA

View Full Version : domain from link


meandean
05-30-2006, 01:34 PM
I'm noticing that the DOMAIN field in the table PLD_LINK is null.

Perhaps this little function below might help parse the link value placed in the URL field to generate a DOMAIN value?

Content visible to registered users only.

meandean
05-30-2006, 02:22 PM
adding this to function.php ... I can then add @ line 124/125 of admin/rss_import_feed.php
Content visible to registered users only.

Once I've got this, I now have the ability to hack a solution to produce a domain dictory (up and until the domain is captured/requested during the rss submission).

I had thought also about doing the same with submitrss.php, but aside from having to hack PLD_RSS_FEED with a new domain field, I'd also have to make accomodations for those using 3rd party syndication services - such as feedburner.

I'm wondering if either via the form, or better yet upon submission, the system goes out and confirms not only the RSS feed but also gleans the base/target domain as well. It'd certainly be helpful in fighting spammers who create 10 feeds for their single site.

pixelsquares
05-30-2006, 02:44 PM
Just wondering what this is supposed to do, is it supposed to cancel out same domain feeds?

meandean
05-30-2006, 03:01 PM
Content visible to registered users only.

To quote myself:Content visible to registered users only.

Meaning it is supposed to populate an otherwise NULL field.