|
- <?xml version="1.0" encoding="UTF-8"?>
- <configuration>
-
- <appSettings>
- <!--
- Access connection string.
- IMPORTANT: Change Data Source to the real physical path
- to your webdata.accdb file.
- -->
- <add key="ConnectionString"
- value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\inetpub\wwwroot\aspblogbrainordure-test\db\webdata.mdb;User Id=admin;Password=;Persist Security Info=False;" />
-
- <!-- Environment flag (Development / Staging / Production) -->
- <add key="Environment" value="Development" />
-
- <!-- Flash message display duration in milliseconds -->
- <add key="FlashMessageTimeout" value="3000" />
-
- <!-- 404 error page redirect countdown in seconds -->
- <add key="Error404RedirectSeconds" value="5" />
-
- <!-- Cache expiration year for static content -->
- <add key="CacheExpirationYear" value="2030" />
-
- <!-- Maximum characters to display in table cells before truncating -->
- <add key="TableCellMaxLength" value="90" />
-
- <!-- Character threshold for textarea vs input field in forms -->
- <add key="FormTextareaThreshold" value="100" />
-
- <!-- Enable error logging to file (true/false) -->
- <add key="EnableErrorLogging" value="false" />
-
- <!-- Error log file path (if EnableErrorLogging is true) -->
- <add key="ErrorLogPath" value="C:\YourApp\logs\errors.log" />
-
- <!-- Enable cache-busting for URLs and assets (true/false) -->
- <add key="EnableCacheBusting" value="false" />
-
- <!-- Cache-bust parameter name (default: "v") -->
- <add key="CacheBustParamName" value="v" />
-
- <!-- Image generation provider (pollinations / abacus) -->
- <add key="AiImageProvider" value="pollinations" />
-
- <!-- Base URL for image generation when using the current provider -->
- <add key="AiImageBaseUrl" value="https://image.pollinations.ai/prompt/" />
-
- <!-- Optional Abacus image endpoint override if Abacus is ever enabled for images -->
- <add key="AbacusImageBaseUrl" value="" />
-
- <!-- Abacus RouteLLM endpoint for AI-generated post content -->
- <add key="AbacusApiBaseUrl" value="https://routellm.abacus.ai/v1" />
-
- <!-- Abacus API key (populate locally / via deployment secret) -->
- <add key="AbacusApiKey" value="" />
-
- <!-- Model name to send to the Abacus RouteLLM API -->
- <add key="AbacusModel" value="route-llm" />
-
- <!-- Editable prompt template used to generate AI post content -->
- <add key="AbacusGenerationPrompt" value="You are a panel of 150 expert writers, researchers, editors, and subject-matter specialists on the topic: {TITLE}. Your task is to write a long, interesting, useful blog post for a general audience and suggest public domain or CC0 image ideas that would fit the article. Return only valid JSON with exactly three keys: {"summary":"","body":"","images":[]} Rules: - Return only valid JSON. - Do not use markdown fences. - Do not use bullet points. - Do not use numbered lists. - Do not include anything outside the JSON object. - Keep the title unchanged. - The summary must be 1 to 2 clear, engaging sentences. - The body must be 900 to 1,400 words. - The body should be 8 to 12 short-to-medium paragraphs. - Separate paragraphs with blank lines. - Make the writing clear, helpful, and interesting. - Use a warm, human, conversational tone. - Avoid sounding like AI-generated content. - Do not exaggerate or make unsupported claims. Image rules: - Include 3 to 5 image suggestions in the images array. - Suggest only images that are likely to be available as public domain, CC0, or freely reusable images. - Prefer image sources such as Wikimedia Commons, Library of Congress, NASA, National Archives, public domain museum collections, or official government archives. - Do not invent exact image URLs unless they are already provided in the existing content. - Do not use copyrighted stock photo sites. - Do not suggest Unsplash as public domain. - Each image object must include placement, search_query, suggested_source, caption, alt_text, and license_requirement. - The license_requirement must say: Verify that the image is public domain or CC0 before publishing. Use the existing content as source material, but improve it significantly. Create blog content for this post title: {TITLE} Existing summary: {SUMMARY} Existing body: {BODY}" />
- </appSettings>
-
- <system.webServer>
- <!-- Default document for the site root -->
- <defaultDocument>
- <files>
- <clear />
- <add value="Default.asp" />
- </files>
- </defaultDocument>
-
- <!-- URL Rewrite: send everything through Default.asp except static assets -->
- <rewrite>
- <rules>
- <rule name="Rewrite to Default.asp" stopProcessing="true">
- <match url="^(?!Default\.asp$|css/|js/|images/|aspunit/|favicon\.ico$).*$" />
-
- <conditions>
- <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
- <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
- </conditions>
-
- <action type="Rewrite" url="/Default.asp" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
-
- </configuration>
|