kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-10-22 08:52 pm

[dw-free] Add Feed Information to Create Feed Page

[commit: http://hg.dwscoalition.org/dw-free/rev/8c91bda1aac5]

http://bugs.dwscoalition.org/show_bug.cgi?id=832

Include URL string on Create Feed Account page.

Patch by [personal profile] wyntarvox.

Files modified:
  • htdocs/syn/index.bml
  • htdocs/syn/index.bml.text
--------------------------------------------------------------------------------
diff -r 12ed55487c55 -r 8c91bda1aac5 htdocs/syn/index.bml
--- a/htdocs/syn/index.bml	Thu Oct 22 15:39:56 2009 -0500
+++ b/htdocs/syn/index.bml	Thu Oct 22 15:51:46 2009 -0500
@@ -66,7 +66,7 @@ body<=
                 # if no account name, give them a proper entry form to pick one, but don't reprompt
                 # for the url, just pass that through (we'll recheck it anyway, though)
                 unless ($acct) {
-                    my $ret .= "<?h1 $ML{'.create'} h1?><?p $ML{'.create.name'} p?>";
+                    my $ret .= "<?h1 $ML{'.create'} h1?><?p " . BML::ml( '.create.name2', { 'feedurl' => LJ::eurl( $url ) } ) . " p?>";
                     $ret .= "<form method='post' action='./'>";
                     $ret .= LJ::html_hidden("userid", $u->{'userid'}, 'synurl', $url);
                     $ret .= "<blockquote>";
diff -r 12ed55487c55 -r 8c91bda1aac5 htdocs/syn/index.bml.text
--- a/htdocs/syn/index.bml.text	Thu Oct 22 15:39:56 2009 -0500
+++ b/htdocs/syn/index.bml.text	Thu Oct 22 15:51:46 2009 -0500
@@ -17,7 +17,7 @@
 
 .create=Create Feed
 
-.create.name=The URL you have entered is not currently being syndicated on this site.  Please enter an account name to use to syndicate this feed.
+.create.name2=A feed account for that URL ([[feedurl]]) isn't set up yet on this site. Please enter an account name to use with the feed. "_feed" will automatically be added to the end of the account name, so don't include that. After you create the feed account, it may take up to a day to start updating.
 
 .error.nocreate=The URL you have entered is not currently being syndicated on this site.  Your account type does not have the ability to create new syndicated feeds.
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org