leiph
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Create an RSS feed page to view subscribed blogsI have used the Friends RSS Aggregator plug-in from http://adam.404.org/projects/friends-rss/ .
You may see it in action at http://leiph.se/blogg-grannar where I re-publish the 100 most recent posts from bloggers in the blogg roll. [In Swedish, takes a minute or so to load.]
It is kind of tricky to get it to work, read the tutorials at http://adam.404.org .
Forum: Installing WordPress
In reply to: remove list tags around h2 within linksI have a very similar problem:
I made a Javascript in the Template File:
<script type="text/javascript">
function open_win()
{
<?php get_links(-1, 'window.open("', '") ', '', FALSE, 'NAME', FALSE,FALSE, -1, FALSE, TRUE); ?>
}
</script>and was excpecting to get (viewing the HTML source code via Firefox)
<script type="text/javascript">
function open_win()
{
window.open("http://www.alexking.org/")
window.open("http://blogs.linux.ie/xeer/")
window.open("http://dougal.gunters.org/")
</script>but got
<script type="text/javascript">
function open_win()
{
window.open("<a href="http://www.alexking.org/">Alex</a>")
window.open("<a href="http://blogs.linux.ie/xeer/">Donncha</a>")
window.open("<a href="http://dougal.gunters.org/">Dougal</a>")
</script>Obiously, according to vkaryl, I need to hack the core. So I tried to call the database:
<?php
global $wpdb;
$name = $wpdb->get_var("SELECT link_url FROM $wpdb->wp_links WHERE link_id=1");
echo $name;?>
But that ended up in an error report ("You have an error in your SQL syntax.")
Finally I realise: I am not a hacker. How do one do this?
/Leiph