# counterproductive to check this file into the repository.
# Details at https://github.com/github/pages-gem/issues/768
Gemfile.lock
+
+#remove various site tools build stuff from git
RSSGen/.vs/
RSSGen/bin/
RSSGen/obj/
RSSGen/.idea/.idea.RSSGen/.idea/indexLayout.xml
RSSGen/.idea/.idea.RSSGen/.idea/misc.xml
RSSGen/.idea/.idea.RSSGen/.idea/vcs.xml
+SiteTools/.vs/
+SiteTools/ParticleGen/bin/
+SiteTools/ParticleGen/obj/
\ No newline at end of file
var folder = FindDirectory("entries");
-var filePaths = Directory.EnumerateFiles(folder);
+var filePaths = Directory.EnumerateFiles(folder, "*.html");
var fileInfos = new List<FileInfo>();
if (filePaths.Any())
folder = FindDirectory("projects");
-filePaths = Directory.EnumerateFiles(folder);
+filePaths = Directory.EnumerateFiles(folder, "*.html");
if (filePaths.Any())
{
folder = FindDirectory("diversions");
-filePaths = Directory.EnumerateFiles(folder);
+filePaths = Directory.EnumerateFiles(folder, "*.html");
if (filePaths.Any())
{
folder = FindDirectory("diversions/hentaigames");
-filePaths = Directory.EnumerateFiles(folder);
+filePaths = Directory.EnumerateFiles(folder, "*.html");
fileInfos = new List<FileInfo>();
if (filePaths.Any())
fileInfos.Add(new Tuple<FileInfo, string>(new FileInfo(index), "https://athene.gay"));
var folder = FindDirectory("entries");
-var filePaths = Directory.EnumerateFiles(folder);
+var filePaths = Directory.EnumerateFiles(folder, "*.html");
if (filePaths.Any())
{
foreach (var path in filePaths)
}
folder = FindDirectory("projects");
-filePaths = Directory.EnumerateFiles(folder);
+filePaths = Directory.EnumerateFiles(folder, "*.html");
if (filePaths.Any())
{
foreach (var path in filePaths)
}
folder = FindDirectory("diversions");
-filePaths = Directory.EnumerateFiles(folder);
+filePaths = Directory.EnumerateFiles(folder, "*.html");
if (filePaths.Any())
{
foreach (var path in filePaths)
}
folder = FindDirectory("diversions/hentaigames");
-filePaths = Directory.EnumerateFiles(folder);
+filePaths = Directory.EnumerateFiles(folder, "*.html");
if (filePaths.Any())
{
foreach (var path in filePaths)
}
}
-List<string> textTags = new List<string>() {"p", "h1", "h2", "h3", "h4"};
+List<string> textTags = new List<string>() { "p", "h1", "h2", "h3", "h4" };
foreach (var file in fileInfos)
{
Title = doc.DocumentNode.SelectSingleNode("//title").InnerText,
Content = new List<Content>()
};
-
+
TraverseHTML(doc.DocumentNode.SelectSingleNode("//body"), particleRoot, file.Item2);
File.WriteAllText(file.Item1.FullName.Replace(".html", ".json"), JsonSerializer.Serialize(particleRoot));
}
string FindFile(string fileName)
{
+ //this is so stupid lmao
var file = Path.Combine(Directory.GetCurrentDirectory(), $"../{fileName}");
if (!File.Exists(file))
{
- file = Path.Combine(Directory.GetCurrentDirectory(), $"../../../../../{fileName}");
+ file = Path.Combine(Directory.GetCurrentDirectory(), $"../../{fileName}");
+ }
+ if (!File.Exists(file))
+ {
+ file = Path.Combine(Directory.GetCurrentDirectory(), $"../../../{fileName}");
}
if (!File.Exists(file))
{
file = Path.Combine(Directory.GetCurrentDirectory(), $"../../../../{fileName}");
}
+ if (!File.Exists(file))
+ {
+ file = Path.Combine(Directory.GetCurrentDirectory(), $"../../../../../{fileName}");
+ }
return file;
}
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ParticleGen
-build_property.ProjectDir = /home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/
+build_property.ProjectDir = C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
+build_property.EffectiveAnalysisLevelStyle = 8.0
+build_property.EnableCodeStyleSeverity =
-e1389d42cf32b47d0a73254e7519d5a224ded365a40688f681156385bbea3bd4
+36cc71eaabd9166a45523e19d54a3ff27c49f1c0066a47eaa8bbbb5358ccfa2d
/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/bin/Debug/net8.0/OpenGraphNet.dll
/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/obj/Debug/net8.0/ParticleGen.csproj.AssemblyReference.cache
/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/obj/Debug/net8.0/Particle.F6443A4C.Up2Date
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\ParticleGen.exe
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\ParticleGen.deps.json
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\ParticleGen.runtimeconfig.json
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\ParticleGen.dll
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\ParticleGen.pdb
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\HtmlAgilityPack.dll
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\bin\Debug\net8.0\OpenGraphNet.dll
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.csproj.AssemblyReference.cache
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.GeneratedMSBuildEditorConfig.editorconfig
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.AssemblyInfoInputs.cache
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.AssemblyInfo.cs
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.csproj.CoreCompileInputs.cache
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.sourcelink.json
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\Particle.F6443A4C.Up2Date
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.dll
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\refint\ParticleGen.dll
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.pdb
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ParticleGen.genruntimeconfig.cache
+C:\Users\gnarg\source\repos\gnargle\gnargle.github.io\SiteTools\ParticleGen\obj\Debug\net8.0\ref\ParticleGen.dll
-448cfff1f0e4e05145d14784270f1f1b864fb59a3343a8b622adc03b35201c93
+820adad02663d9525c015d2a72cf8bbb5515b50a293321c50644f6ef1fe51636
-{"documents":{"/home/athene/Documents/GitHub/gnargle.github.io/*":"https://raw.githubusercontent.com/gnargle/gnargle.github.io/30585874b9f9af32cd96d449d4a21302542b4de1/*"}}
\ No newline at end of file
+{"documents":{"C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\*":"https://raw.githubusercontent.com/gnargle/gnargle.github.io/620cb84a918d7afef79e4e6bbc762c783a7e07f7/*"}}
\ No newline at end of file
{
"format": 1,
"restore": {
- "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj": {}
+ "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj": {}
},
"projects": {
- "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj": {
+ "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj",
+ "projectUniqueName": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj",
"projectName": "ParticleGen",
- "projectPath": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj",
- "packagesPath": "/home/athene/.nuget/packages/",
- "outputPath": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/obj/",
+ "projectPath": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj",
+ "packagesPath": "C:\\Users\\gnarg\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\obj\\",
"projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
"configFilePaths": [
- "/home/athene/.nuget/NuGet/NuGet.Config"
+ "C:\\Users\\gnarg\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
- }
+ },
+ "SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net8.0": {
"privateAssets": "all"
}
},
- "runtimeIdentifierGraphPath": "/home/athene/.dotnet/sdk/8.0.404/PortableRuntimeIdentifierGraph.json"
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
}
}
}
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
- <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/athene/.nuget/packages/</NuGetPackageRoot>
- <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/athene/.nuget/packages/</NuGetPackageFolders>
+ <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
+ <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\gnarg\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
- <SourceRoot Include="/home/athene/.nuget/packages/" />
+ <SourceRoot Include="C:\Users\gnarg\.nuget\packages\" />
+ <SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>
\ No newline at end of file
]
},
"packageFolders": {
- "/home/athene/.nuget/packages/": {}
+ "C:\\Users\\gnarg\\.nuget\\packages\\": {},
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
- "projectUniqueName": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj",
+ "projectUniqueName": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj",
"projectName": "ParticleGen",
- "projectPath": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj",
- "packagesPath": "/home/athene/.nuget/packages/",
- "outputPath": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/obj/",
+ "projectPath": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj",
+ "packagesPath": "C:\\Users\\gnarg\\.nuget\\packages\\",
+ "outputPath": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\obj\\",
"projectStyle": "PackageReference",
+ "fallbackFolders": [
+ "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
+ ],
"configFilePaths": [
- "/home/athene/.nuget/NuGet/NuGet.Config"
+ "C:\\Users\\gnarg\\AppData\\Roaming\\NuGet\\NuGet.Config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
+ "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net8.0"
],
"sources": {
+ "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
+ "C:\\Program Files\\dotnet\\library-packs": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
- }
+ },
+ "SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net8.0": {
"privateAssets": "all"
}
},
- "runtimeIdentifierGraphPath": "/home/athene/.dotnet/sdk/8.0.404/PortableRuntimeIdentifierGraph.json"
+ "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.204/PortableRuntimeIdentifierGraph.json"
}
}
}
{
"version": 2,
- "dgSpecHash": "dhw1sFuFsSk=",
+ "dgSpecHash": "pwK5tpF1zyE=",
"success": true,
- "projectFilePath": "/home/athene/Documents/GitHub/gnargle.github.io/SiteTools/ParticleGen/ParticleGen.csproj",
+ "projectFilePath": "C:\\Users\\gnarg\\source\\repos\\gnargle\\gnargle.github.io\\SiteTools\\ParticleGen\\ParticleGen.csproj",
"expectedPackageFiles": [
- "/home/athene/.nuget/packages/htmlagilitypack/1.11.43/htmlagilitypack.1.11.43.nupkg.sha512",
- "/home/athene/.nuget/packages/opengraph-net/4.0.1/opengraph-net.4.0.1.nupkg.sha512",
- "/home/athene/.nuget/packages/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
- "/home/athene/.nuget/packages/system.text.encoding.codepages/6.0.0/system.text.encoding.codepages.6.0.0.nupkg.sha512"
+ "C:\\Users\\gnarg\\.nuget\\packages\\htmlagilitypack\\1.11.43\\htmlagilitypack.1.11.43.nupkg.sha512",
+ "C:\\Users\\gnarg\\.nuget\\packages\\opengraph-net\\4.0.1\\opengraph-net.4.0.1.nupkg.sha512",
+ "C:\\Users\\gnarg\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
+ "C:\\Users\\gnarg\\.nuget\\packages\\system.text.encoding.codepages\\6.0.0\\system.text.encoding.codepages.6.0.0.nupkg.sha512"
],
"logs": []
}
\ No newline at end of file
<link>https://athene.gay/diversions/musicivemade.html</link>
<guid isPermaLink="true">https://athene.gay/diversions/musicivemade.html</guid>
</item>
- <item>
- <title>The Return of the KFC Double Down</title>
- <description>OK this is a silly post but my friends asked me for a full
- review of the new kfc zinger double down. So here it is.</description>
- <pubDate>Wed, 12 Feb 2025 00:00:00 GMT</pubDate>
- <link>https://athene.gay/entries/thereturnofthekfcdoubledown.html</link>
- <guid isPermaLink="true">https://athene.gay/entries/thereturnofthekfcdoubledown.html</guid>
- </item>
<item>
<title>The Life and Death(ish) of Hentai Games</title>
<description>Once upon a time, I was a horny teenage boy. Now, I'm a horny adult woman.</description>
<guid isPermaLink="true">https://athene.gay/entries/srb2.html</guid>
</item>
<item>
- <title>Youbeat</title>
- <description>A while ago, I wanted to adapt arcade game Jubeat for home play,
- using a device called a launchpad.</description>
- <pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate>
- <link>https://athene.gay/projects/youbeat.html</link>
- <guid isPermaLink="true">https://athene.gay/projects/youbeat.html</guid>
+ <title>The Return of the KFC Double Down</title>
+ <description>OK this is a silly post but my friends asked me for a full
+ review of the new kfc zinger double down. So here it is.</description>
+ <pubDate>Wed, 12 Feb 2025 00:00:00 GMT</pubDate>
+ <link>https://athene.gay/entries/thereturnofthekfcdoubledown.html</link>
+ <guid isPermaLink="true">https://athene.gay/entries/thereturnofthekfcdoubledown.html</guid>
+ </item>
+ <item>
+ <title>It's 2025 and I am playing a D&D Game...</title>
+ <description>... and it's not Baldurs Gate 3; it is, however, equally 7/10.</description>
+ <pubDate>Sat, 01 Feb 2025 00:00:00 GMT</pubDate>
+ <link>https://athene.gay/entries/danddgames.html</link>
+ <guid isPermaLink="true">https://athene.gay/entries/danddgames.html</guid>
</item>
<item>
<title>Athene.Gay</title>
<guid isPermaLink="true">https://athene.gay/projects/thiswebsite.html</guid>
</item>
<item>
- <title>FFXIV Plugins</title>
- <description>I currently maintain two silly little plugins for Final Fantasy
- XIV.</description>
+ <title>Youbeat</title>
+ <description>A while ago, I wanted to adapt arcade game Jubeat for home play,
+ using a device called a launchpad.</description>
<pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate>
- <link>https://athene.gay/projects/dalamudplugins.html</link>
- <guid isPermaLink="true">https://athene.gay/projects/dalamudplugins.html</guid>
+ <link>https://athene.gay/projects/youbeat.html</link>
+ <guid isPermaLink="true">https://athene.gay/projects/youbeat.html</guid>
</item>
<item>
<title>Miku Expo</title>
<guid isPermaLink="true">https://athene.gay/entries/miku.html</guid>
</item>
<item>
- <title>It's 2025 and I am playing a D&D Game...</title>
- <description>... and it's not Baldurs Gate 3; it is, however, equally 7/10.</description>
- <pubDate>Sat, 01 Feb 2025 00:00:00 GMT</pubDate>
- <link>https://athene.gay/entries/danddgames.html</link>
- <guid isPermaLink="true">https://athene.gay/entries/danddgames.html</guid>
+ <title>FFXIV Plugins</title>
+ <description>I currently maintain two silly little plugins for Final Fantasy
+ XIV.</description>
+ <pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate>
+ <link>https://athene.gay/projects/dalamudplugins.html</link>
+ <guid isPermaLink="true">https://athene.gay/projects/dalamudplugins.html</guid>
</item>
<item>
<title>Bringing Static Websites Back</title>