[wp-hackers] unsubscribe

Aaron Wentzel awentzel at takbax.com
Tue Feb 20 20:37:23 GMT 2007


unsubscribe

-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of
wp-hackers-request at lists.automattic.com
Sent: Monday, February 19, 2007 4:00 AM
To: wp-hackers at lists.automattic.com
Subject: wp-hackers Digest, Vol 25, Issue 29

Send wp-hackers mailing list submissions to
	wp-hackers at lists.automattic.com

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.automattic.com/mailman/listinfo/wp-hackers
or, via email, send a message with subject or body 'help' to
	wp-hackers-request at lists.automattic.com

You can reach the person managing the list at
	wp-hackers-owner at lists.automattic.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of wp-hackers digest..."


Today's Topics:

   1. Re: Embeding a gallery into WP (Charles E. Frees-Melvin)
   2. Creating custom rewrite rules (Callum Macdonald)
   3. Re: Creating custom rewrite rules (Andrew Ferguson)
   4. RE: Embeding a gallery into WP (Les Bessant)
   5. Re: Re: WordPress, web standards, and (X)HTML (Jeremy Visser)


----------------------------------------------------------------------

Message: 1
Date: Mon, 19 Feb 2007 00:36:30 -0400
From: "Charles E. Frees-Melvin" <charles.freesmelvin at gmail.com>
Subject: Re: [wp-hackers] Embeding a gallery into WP
To: wp-hackers at lists.automattic.com
Message-ID:
	<b7af81150702182036y2c4f823fu744d958c54bc1bd at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

I found that I needed to right my own Gallery template to match the
Wordpress one to make it work.

On 19/02/07, Claudia Diaz Symonds <cdsymonds at gmail.com> wrote:
>
> Hello all:
> I need to embed a gallery into my WP Site... actually, I just need how to
> find the proper file to edit. I'm a WP newbie, as you see.
>
> Can somebody guide me to the light, please? My brain is all cracked up,
> now.
> I've tried the WPG2 plugin, but  it breaks the layout of my template...
> any
> ideas?
>
> Thanks for reading.
> CYa!
> :)
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
--------------------------------
Charles E. Frees-Melvin
charles.freesmelvin at gmail.com
www.cefm.ca


------------------------------

Message: 2
Date: Mon, 19 Feb 2007 16:02:50 +1100
From: Callum Macdonald <lists.automattic.com at callum-macdonald.com>
Subject: [wp-hackers] Creating custom rewrite rules
To: wp-hackers at lists.automattic.com
Message-ID: <45D92F7A.7030801 at callum-macdonald.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

G'day,

Does anyone have a copy of the Custom Rewrite Rules plugin? The download 
link is dead.
http://wp-plugins.net/plugin/custom_rewrite_rules/

If not, I'm reading the WP_Rewrite function reference on codex:
http://codex.wordpress.org/Function_Reference/WP_Rewrite

and using the FeedDirector plugin as a starting point:
http://boren.nu/archives/2005/03/29/feed-director-plugin/

I'd like to add some custom rewrite rules to redirect 
/directory/pagename.htm to page_id = 2. Does that make sense? So 
siteurl.com/directory/pagename.htm will load the page with page_id 2 in 
WordPress.

I've tried this code (modified from the Feed Director plugin:
function feed_dir_rewrite($wp_rewrite) {
    $feed_rules = array(
        'index.rdf' => 'index.php?feed=rdf',
        'index.xml' => 'index.php?feed=rss2',
        'test.htm' => 'index.php&page_id=2',
        '(.+).xml' => 'index.php?feed=' . $wp_rewrite->preg_index(1)
        );

        $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules;
}

The index.rdf and index.xml links work, but my test.htm link doesn't for 
some reason. Can anyone offer any suggestions?

Cheers,


Callum.



------------------------------

Message: 3
Date: Sun, 18 Feb 2007 22:50:11 -0700
From: "Andrew Ferguson" <andrew at fergcorp.com>
Subject: Re: [wp-hackers] Creating custom rewrite rules
To: wp-hackers at lists.automattic.com
Message-ID:
	<628687b30702182150p6c262377jbf06e5811f0788f at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

http://blogs.oldradio.net/wp-content/plugins/custom_rewrite_rules_ver1.zip

-Andrew Ferguson

http://www.AndrewFerguson.net
http://www.fergcorp.com
http://www.StudentTabletPC.com

On 2/18/07, Callum Macdonald <lists.automattic.com at callum-macdonald.com>
wrote:
>
> G'day,
>
> Does anyone have a copy of the Custom Rewrite Rules plugin? The download
> link is dead.
> http://wp-plugins.net/plugin/custom_rewrite_rules/
>
> If not, I'm reading the WP_Rewrite function reference on codex:
> http://codex.wordpress.org/Function_Reference/WP_Rewrite
>
> and using the FeedDirector plugin as a starting point:
> http://boren.nu/archives/2005/03/29/feed-director-plugin/
>
> I'd like to add some custom rewrite rules to redirect
> /directory/pagename.htm to page_id = 2. Does that make sense? So
> siteurl.com/directory/pagename.htm will load the page with page_id 2 in
> WordPress.
>
> I've tried this code (modified from the Feed Director plugin:
> function feed_dir_rewrite($wp_rewrite) {
>     $feed_rules = array(
>         'index.rdf' => 'index.php?feed=rdf',
>         'index.xml' => 'index.php?feed=rss2',
>         'test.htm' => 'index.php&page_id=2',
>         '(.+).xml' => 'index.php?feed=' . $wp_rewrite->preg_index(1)
>         );
>
>         $wp_rewrite->rules = $feed_rules + $wp_rewrite->rules;
> }
>
> The index.rdf and index.xml links work, but my test.htm link doesn't for
> some reason. Can anyone offer any suggestions?
>
> Cheers,
>
>
> Callum.
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


------------------------------

Message: 4
Date: Mon, 19 Feb 2007 07:45:33 -0000
From: "Les Bessant" <les at lcb.me.uk>
Subject: RE: [wp-hackers] Embeding a gallery into WP
To: <wp-hackers at lists.automattic.com>
Message-ID: <057201c753f9$f0d6f590$d284e0b0$@me.uk>
Content-Type: text/plain;	charset="us-ascii"

(Probably a question that belongs on the WP support forums, or even the WPG2
forums[1])

But, have a look at this:

http://wpg2.galleryembedded.com/index.php?title=WPG2:Creating_a_custom_wpg2h
eader.php_file

That fixes most layout borkage.

[1] http://www.galleryembedded.com/forums/index.php



Les Bessant les at lcb.me.uk
Losing it[1] - http://lcb.me.uk
My flickr pictures - http://flickr.com/photos/lesbessant/


-----Original Message-----
From: wp-hackers-bounces at lists.automattic.com
[mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of Claudia Diaz
Symonds
Sent: 19 February 2007 04:33
To: wp-hackers at lists.automattic.com
Subject: [wp-hackers] Embeding a gallery into WP

Hello all:
I need to embed a gallery into my WP Site... actually, I just need how to
find the proper file to edit. I'm a WP newbie, as you see.

Can somebody guide me to the light, please? My brain is all cracked up, now.
I've tried the WPG2 plugin, but  it breaks the layout of my template... any
ideas?

Thanks for reading.
CYa!
:)
_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers



------------------------------

Message: 5
Date: Mon, 19 Feb 2007 19:51:35 +1100
From: Jeremy Visser <jeremy.visser at gmail.com>
Subject: Re: [wp-hackers] Re: WordPress, web standards, and (X)HTML
To: wp-hackers at lists.automattic.com
Message-ID: <45D96517.6010603 at gmail.com>
Content-Type: text/plain; charset=UTF-8

Elliotte Harold wrote:
> Authorial intent is a popular fallacy. All we have to go on is the text.
> We can't read the author's mind.
> 
> If the author had made their markup intent clear neither Tidy nor
> TagSoup will change it. However if the author has not made their intent
> clear, then Tidy and TagSoup will guess, just as browsers will.
> Sometimes the authors may agree with the guesses that the purifiers and
> the browsers make. Sometimes they won't. But there are guesses in this
> case no matter who makes them.

I find that when people write a web page (like the types that are
hand-coded, about 30KB long, contain about 5 paragraphs and contain an
'Optimised for Netscape' banner) it will contain errors and will trigger
browser quirks, so they will tweak it and tweak it until it looks right.

The same could apply to WordPress. If we are always filtering the markup
with something like Tidy, then, for example, someone will write a post
in badly formed XHTML, then do a 'Save and Continue Editing' to get a
preview. They will see it just doesn't look 'quite right' so they will
tweak it a bit or try something else until it does look right.

Do you get my point? You might think that because we put it through a
filter, it won't look right to people. In reality, I think they will
just tweak it until it does look right, and in the end, it will be
well-formed.

(This email was sitting in my drafts folder for a few days, that's why
it's a bit late)


------------------------------

_______________________________________________
wp-hackers mailing list
wp-hackers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-hackers


End of wp-hackers Digest, Vol 25, Issue 29
******************************************



More information about the wp-hackers mailing list